Debian Codegraph @

cpan/Test2-Suite/t/modules/Require/AuthorTesting.t

raw
1 use Test2::Bundle::Extended -target => 'Test2::Require::AuthorTesting';
2
3 {
4 local $ENV{AUTHOR_TESTING} = 0;
5 is($CLASS->skip(), 'Author test, set the $AUTHOR_TESTING environment variable to run it', "will skip");
6
7 $ENV{AUTHOR_TESTING} = 1;
8 is($CLASS->skip(), undef, "will not skip");
9 }
10
11 done_testing;