diff options
author | Michael G. Schwern <schwern@pobox.com> | 2002-08-25 21:13:03 -0700 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-08-26 15:07:21 +0000 |
commit | 60ffb3081afd811893be4fb73d870ed1a5c9ca72 (patch) | |
tree | 66625e15ba3405ed3b9f6a9b90c5320df14be540 /lib/Test/Simple/t/has_plan2.t | |
parent | cd9c2b4e96008c6ff95ba47e81d068a5615dfccc (diff) | |
download | perl-60ffb3081afd811893be4fb73d870ed1a5c9ca72.tar.gz |
[ANNOUNCE] Test::Simple 0.47
Message-ID: <20020826111303.GJ758@ool-18b93024.dyn.optonline.net>
p4raw-id: //depot/perl@17783
Diffstat (limited to 'lib/Test/Simple/t/has_plan2.t')
-rw-r--r-- | lib/Test/Simple/t/has_plan2.t | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/Test/Simple/t/has_plan2.t b/lib/Test/Simple/t/has_plan2.t new file mode 100644 index 0000000000..2b9ac499da --- /dev/null +++ b/lib/Test/Simple/t/has_plan2.t @@ -0,0 +1,30 @@ +#!/usr/bin/perl -w + +BEGIN { + if( $ENV{PERL_CORE} ) { + chdir 't'; + @INC = '../lib'; + } +} + +use Test::More; + +BEGIN { + if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) { + plan skip_all => "Won't work with t/TEST"; + } +} + +BEGIN { + require Test::Harness; +} + +if( $Test::Harness::VERSION < 1.20 ) { + plan skip_all => 'Need Test::Harness 1.20 or up'; +} + +use strict; +use Test::Builder; + +plan 'no_plan'; +is(Test::Builder->has_plan, 'no_plan', 'has no_plan'); |