Make default is deprecation warning happen at run time
[gitmo/Moose.git] / t / 010_basics / 006_override_and_foreign_classes.t
index 28907aa..05761c9 100644 (file)
@@ -3,8 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 15;
-
+use Test::More;
 
 
 =pod
@@ -70,4 +69,6 @@ isa_ok($foo, 'Foo');
 
 is($foo->foo(), 'Foo::foo', '... got the right value from &foo');
 is($foo->bar(), 'Foo::bar', '... got the right value from &bar');
-is($foo->baz(), 'Foo::baz', '... got the right value from &baz');
\ No newline at end of file
+is($foo->baz(), 'Foo::baz', '... got the right value from &baz');
+
+done_testing;