summaryrefslogtreecommitdiff
path: root/lib/Test/Simple/t/todo.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Test/Simple/t/todo.t')
-rw-r--r--lib/Test/Simple/t/todo.t18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/Test/Simple/t/todo.t b/lib/Test/Simple/t/todo.t
index 399aa475be..70ef083a00 100644
--- a/lib/Test/Simple/t/todo.t
+++ b/lib/Test/Simple/t/todo.t
@@ -6,7 +6,7 @@ BEGIN {
Test::More->import(skip_all => 'Need the new Test::Harness');
}
else {
- Test::More->import(tests => 5);
+ Test::More->import(tests => 13);
}
}
@@ -30,3 +30,19 @@ TODO: {
}
pass("This is still not todo");
+
+
+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' );
+
+ can_ok('Fooble', 'yarble');
+ isa_ok('Fooble', 'yarble');
+ use_ok('Fooble');
+ require_ok('Fooble');
+}