X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F030_roles%2F019_build.t;h=341b1c901d43d3dd1e91781fb41daa7cd837f54a;hb=fde8e43f95fe996fbc2a778aa259feeb04552171;hp=684443a6626f4bb93cf4f4e5f30f198305f22e5b;hpb=b36cef5c9ef6b86439ed67cd94be97bec04037bf;p=gitmo%2FMouse.git diff --git a/t/030_roles/019_build.t b/t/030_roles/019_build.t index 684443a..341b1c9 100644 --- a/t/030_roles/019_build.t +++ b/t/030_roles/019_build.t @@ -1,13 +1,14 @@ #!/usr/bin/env perl +# This is automatically generated by author/import-moose-test.pl. +# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!! +use t::lib::MooseCompat; use strict; use warnings; use Test::More; -BEGIN { - eval "use Test::Output;"; - plan skip_all => "Test::Output is required for this test" if $@; - plan tests => 8; -} +use Test::Requires { + 'Test::Output' => '0.01', # skip all if not installed +}; # this test script ensures that my idiom of: # role: sub BUILD, after BUILD @@ -79,3 +80,4 @@ do { } } +done_testing;