require Class::Accessor::Grouped;
}
+
# rerun the regular 3 tests under the assumption of no Sub::Name
-for my $tname (qw/accessors.t accessors_ro.t accessors_wo.t clean_namespace.t/) {
+our $SUBTESTING = 1;
+for my $tname (qw/accessors.t accessors_ro.t accessors_wo.t/) {
+
+ for (1,2) {
+ note "\nTesting $tname without Sub::Name (pass $_)\n\n";
- subtest "$tname without Sub::Name (pass $_)" => sub {
my $tfn = catfile($Bin, $tname);
delete $INC{$_} for (
do($tfn);
- } for (1 .. 2);
+ }
}
done_testing;