tests and changelogging
[gitmo/Moose.git] / t / 300_immutable / 013_immutable_roundtrip.t
index fe39a34..a77b223 100644 (file)
@@ -5,10 +5,9 @@ use warnings;
 
 use Test::More;
 
-eval "use Test::Output";
-plan skip_all => "Test::Output is required for this test" if $@;
-
-plan tests => 1;
+use Test::Requires {
+    'Test::Output' => '0.01', # skip all if not installed
+};
 
 {
     package Foo;
@@ -36,3 +35,4 @@ plan tests => 1;
     );
 }
 
+done_testing;