Assimilate Test-Simple 0.50
[p5sagit/p5-mst-13.2.git] / lib / Test / Simple / t / plan_no_plan.t
CommitLineData
33459055 1BEGIN {
a9153838 2 if( $ENV{PERL_CORE} ) {
3 chdir 't';
4 @INC = '../lib';
5 }
33459055 6}
7
a9153838 8use Test::More;
33459055 9
a9153838 10BEGIN {
11 if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) {
12 plan skip_all => "Won't work with t/TEST";
13 }
33459055 14}
15
33459055 16BEGIN {
17 require Test::Harness;
18}
19
30e302f8 20# This feature requires a fairly new version of Test::Harness
21if( $Test::Harness::VERSION < 2.03 ) {
22 plan tests => 1;
23 diag "Need Test::Harness 2.03 or up. You have $Test::Harness::VERSION.";
24 fail 'Need Test::Harness 2.03 or up';
25 exit;
33459055 26}
27
30e302f8 28plan 'no_plan';
29
33459055 30pass('Just testing');
31ok(1, 'Testing again');