*__CAG_TRACK_UNDEFER_FAIL = (
$INC{'Test/Builder.pm'} || $INC{'Test/Builder2.pm'}
and
- $0 =~ m|^ x?t [\/\\] .+ \.t $|x
+ $0 =~ m|^ x?t / .+ \.t $|x
) ? sub () { 1 }
: sub () { 0 }
;
use strict;
use warnings;
-use FindBin qw($Bin);
-use File::Spec::Functions;
-use File::Spec::Unix (); # need this for %INC munging
use Test::More;
use lib 't/lib';
scalar (grep { $_ =~ /^\QDeferred version of method AccessorGroups::singlefield invoked more than once/ } @w),
3,
'3 warnings produced as expected on cached invocation during testing',
-);
+) or do {
+ require Data::Dumper;
+ diag "\n \$0 is: " . Data::Dumper->new([$0])->Useqq(1)->Terse(1)->Dump;
+};
done_testing;