X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F300_immutable%2F013_immutable_roundtrip.t;h=a77b2238eef9e379344b23d1880d41f94a372442;hb=203e008eb223539d9149bdd74ac79bbd657e32be;hp=fe39a3442657844d1c4ed9170d95e9773fd5ce3c;hpb=679b294c61531b8fa2306fed8948647fea75c839;p=gitmo%2FMoose.git diff --git a/t/300_immutable/013_immutable_roundtrip.t b/t/300_immutable/013_immutable_roundtrip.t index fe39a34..a77b223 100644 --- a/t/300_immutable/013_immutable_roundtrip.t +++ b/t/300_immutable/013_immutable_roundtrip.t @@ -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;