8 # Can't use Test.pm, that's a 5.005 thing.
14 # Utility testing functions.
16 my($test, $name) = @_;
18 $ok .= "not " unless $test;
19 $ok .= "ok $test_num";
20 $ok .= " - $name" if defined $name;
30 push @INC, '../t/lib';
31 require Test::Simple::Catch::More;
32 my($out, $err) = Test::Simple::Catch::More::caught();
34 Test::More->import('skip_all');
38 My::Test::ok($$out eq "1..0\n");
39 My::Test::ok($$err eq "");