X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F050_metaclasses%2F012_moose_exporter.t;h=e37669da0219828fe3984230c05193e361cb2033;hb=4d438a84f437bcb3c43a04c27823b8b431cd3f55;hp=d693b8349e8aff7bfbf670106b161595c26d0bd4;hpb=3be21337e3cd9e3a5f7f44b0a26bd423876b1a00;p=gitmo%2FMoose.git diff --git a/t/050_metaclasses/012_moose_exporter.t b/t/050_metaclasses/012_moose_exporter.t index d693b83..e37669d 100644 --- a/t/050_metaclasses/012_moose_exporter.t +++ b/t/050_metaclasses/012_moose_exporter.t @@ -5,11 +5,10 @@ use warnings; use Test::More; use Test::Exception; -BEGIN { - eval "use Test::Output;"; - plan skip_all => "Test::Output is required for this test" if $@; -} +use Test::Requires { + 'Test::Output' => '0.01', # skip all if not installed +}; { package HasOwnImmutable;