1 # $Id: /mirror/googlecode/test-more/t/plan_is_noplan.t 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
3 if( $ENV{PERL_CORE} ) {
5 @INC = ('../lib', 'lib');
12 # Can't use Test.pm, that's a 5.005 thing.
18 # Utility testing functions.
20 my($test, $name) = @_;
22 $ok .= "not " unless $test;
23 $ok .= "ok $test_num";
24 $ok .= " - $name" if defined $name;
35 require Test::Simple::Catch;
36 my($out, $err) = Test::Simple::Catch::caught();
39 Test::Simple->import('no_plan');
45 My::Test::ok($$out eq <<OUT);
50 My::Test::ok($$err eq <<ERR);
53 # Prevent Test::Simple from exiting with non zero