projects
/
p5sagit/Try-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
58e8b62
)
use a plan instead of done_testing in TODO test
Yuval Kogman [Thu, 27 May 2010 09:46:50 +0000 (12:46 +0300)]
t/given_when.t
patch
|
blob
|
blame
|
history
diff --git
a/t/given_when.t
b/t/given_when.t
index
f87945f
..
3e34e6f
100644
(file)
--- a/
t/given_when.t
+++ b/
t/given_when.t
@@
-7,6
+7,7
@@
use Test::More;
BEGIN {
plan skip_all => "Perl 5.10 is required" unless eval { require 5.010 };
+ plan tests => 3;
use_ok("Try::Tiny");
}
@@
-30,7
+31,5
@@
is( $error, "blah\n", "error caught" );
is( $topic, $error, 'error is also in $_' );
}
-done_testing;
-
# ex: set sw=4 et: