Regenerate test files
[gitmo/Mouse.git] / t / 030_roles / 019_build.t
index 684443a..341b1c9 100644 (file)
@@ -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;