Convert all tests to done_testing.
[gitmo/Moose.git] / t / 030_roles / 031_roles_applied_in_create.t
index 3f052f9..10d698c 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 1;
+use Test::More;
 use Test::Exception;
 use Moose::Meta::Class;
 use Moose::Util;
@@ -11,7 +11,8 @@ use Moose::Util;
 use lib 't/lib', 'lib';
 
 
-# Note that this test passes if we inline the role definitions in this file.
+# Note that this test passed (pre svn #5543) if we inlined the role
+# definitions in this file, as it was very timing sensitive.
 lives_ok(
     sub {
         my $builder_meta = Moose::Meta::Class->create(
@@ -24,3 +25,4 @@ lives_ok(
     'Create a new class with several roles'
 );
 
+done_testing;