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
33459055 1BEGIN {
a9153838
MS
2 if( $ENV{PERL_CORE} ) {
3 chdir 't';
4 @INC = '../lib';
5 }
33459055
MS
6}
7
a9153838 8use Test::More;
33459055 9
a9153838
MS
10BEGIN {
11 if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) {
12 plan skip_all => "Won't work with t/TEST";
13 }
33459055
MS
14}
15
33459055
MS
16BEGIN {
17 require Test::Harness;
18}
19
20if( $Test::Harness::VERSION < 1.20 ) {
a9153838 21 plan skip_all => 'Need Test::Harness 1.20 or up';
33459055
MS
22}
23else {
a9153838 24 plan 'no_plan';
33459055
MS
25}
26
27pass('Just testing');
28ok(1, 'Testing again');