Convert all tests to done_testing.
[gitmo/Moose.git] / t / 030_roles / 039_application_toclass.t
index 67c7d4e..faf0b01 100644 (file)
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More tests => 24;
+use Test::More;
 
 do {
     package Role::Foo;
@@ -18,12 +18,12 @@ do {
     package Consumer::Excludes;
     use Moose;
 
-    with 'Role::Foo' => { excludes => 'foo' };
+    with 'Role::Foo' => { -excludes => 'foo' };
 
     package Consumer::Aliases;
     use Moose;
 
-    with 'Role::Foo' => { alias => { 'foo' => 'role_foo' } };
+    with 'Role::Foo' => { -alias => { 'foo' => 'role_foo' } };
 
     package Consumer::Overrides;
     use Moose;
@@ -73,3 +73,4 @@ is_deeply($excludes->get_method_exclusions,  ['foo']);
 is_deeply($aliases->get_method_exclusions,   []);
 is_deeply($overrides->get_method_exclusions, []);
 
+done_testing;