This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test::Simple/More/Builder/Tutorial 0.41
[perl5.git] / lib / Test / Simple / t / plan_no_plan.t
... / ...
CommitLineData
1BEGIN {
2 if( $ENV{PERL_CORE} ) {
3 chdir 't';
4 @INC = '../lib';
5 }
6}
7
8use Test::More;
9
10BEGIN {
11 if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) {
12 plan skip_all => "Won't work with t/TEST";
13 }
14}
15
16BEGIN {
17 require Test::Harness;
18}
19
20if( $Test::Harness::VERSION < 1.20 ) {
21 plan skip_all => 'Need Test::Harness 1.20 or up';
22}
23else {
24 plan 'no_plan';
25}
26
27pass('Just testing');
28ok(1, 'Testing again');