1 #! /usr/local/bin/perl -w
8 if( $Test::Harness::VERSION < 1.23 ) {
9 Test::More->import(skip_all => 'Need the new Test::Harness');
12 Test::More->import(tests => 13);
16 $Why = 'Just testing the todo interface.';
21 fail("Expected failure");
22 fail("Another expected failure");
26 pass("This is not todo");
32 fail("Yet another failure");
35 pass("This is still not todo");
39 local $TODO = "testing that error messages don't leak out of todo";
41 ok( 'this' eq 'that', 'ok' );
43 like( 'this', '/that/', 'like' );
44 is( 'this', 'that', 'is' );
45 isnt( 'this', 'this', 'isnt' );
47 can_ok('Fooble', 'yarble');
48 isa_ok('Fooble', 'yarble');