#!perl -w
chdir 't';
}
}
}
else {
}
}
$Why =
'Just testing the todo interface.';
fail("Expected failure"); fail("Another expected failure"); }
pass("This is not todo");
fail("Yet another failure"); }
pass("This is still not todo");
local $TODO = "testing that error messages don't leak out of todo";
ok( 'this' eq 'that', 'ok' );
like( 'this', '/that/', 'like' ); is( 'this', 'that', 'is' ); isnt( 'this', 'this', 'isnt' );
}
fail("Just testing todo"); die "todo_skip should prevent this"; }