X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F030_roles%2F019_build.t;h=684443a6626f4bb93cf4f4e5f30f198305f22e5b;hb=92d87891cfa6391f35fcde0dfc09ea00635525e4;hp=341b1c901d43d3dd1e91781fb41daa7cd837f54a;hpb=fde8e43f95fe996fbc2a778aa259feeb04552171;p=gitmo%2FMouse.git diff --git a/t/030_roles/019_build.t b/t/030_roles/019_build.t index 341b1c9..684443a 100644 --- a/t/030_roles/019_build.t +++ b/t/030_roles/019_build.t @@ -1,14 +1,13 @@ #!/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 $@; -use Test::Requires { - 'Test::Output' => '0.01', # skip all if not installed -}; + plan tests => 8; +} # this test script ensures that my idiom of: # role: sub BUILD, after BUILD @@ -80,4 +79,3 @@ do { } } -done_testing;