Make the interface of composite role more comatible
[gitmo/Mouse.git] / t / 030_roles / 019_build.t
index 341b1c9..684443a 100644 (file)
@@ -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;