From: Matt S Trout Date: Sat, 6 Nov 2010 21:03:11 +0000 (+0000) Subject: rename test and switch to done_testing since Test::Fatal already requires a sufficien... X-Git-Tag: 0.009001~78 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5f7ac9797529cfec418489fb405a81181465f08c;p=gitmo%2FRole-Tiny.git rename test and switch to done_testing since Test::Fatal already requires a sufficient Test::More --- diff --git a/t/simple.t b/t/role-tiny.t similarity index 96% rename from t/simple.t rename to t/role-tiny.t index c0043dd..9ef8f73 100644 --- a/t/simple.t +++ b/t/role-tiny.t @@ -1,5 +1,5 @@ use strictures 1; -use Test::More qw(no_plan); +use Test::More; use Test::Fatal; BEGIN { @@ -48,3 +48,5 @@ ok(!MyClass->does('Random'), 'class does not do non-role'); like(try_apply_to('NoMethods'), qr/req1, req2/, 'error for both methods'); like(try_apply_to('OneMethod'), qr/req2/, 'error for one method'); + +done_testing;