rename test and switch to done_testing since Test::Fatal already requires a sufficien...
Matt S Trout [Sat, 6 Nov 2010 21:03:11 +0000 (21:03 +0000)]
t/role-tiny.t [moved from t/simple.t with 96% similarity]

similarity index 96%
rename from t/simple.t
rename to t/role-tiny.t
index c0043dd..9ef8f73 100644 (file)
@@ -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;