From: Yuval Kogman Date: Thu, 27 May 2010 09:46:50 +0000 (+0300) Subject: use a plan instead of done_testing in TODO test X-Git-Tag: Try-Tiny-0.06~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=68d55f6d41c387f87d85c2784946b415cc16835b;p=p5sagit%2FTry-Tiny.git use a plan instead of done_testing in TODO test --- diff --git a/t/given_when.t b/t/given_when.t index f87945f..3e34e6f 100644 --- 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: