X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F040_type_constraints%2F006_util_type_reloading.t;h=d1acfc2634f91642c346a4e9801ca47e328542e5;hb=a28e50e44945358d15eb19e4688573741a319fe0;hp=4cde153b374bd8f4795c095582767296251289a0;hpb=e606ae5f848070d889472329819c95f5ba763ca3;p=gitmo%2FMoose.git diff --git a/t/040_type_constraints/006_util_type_reloading.t b/t/040_type_constraints/006_util_type_reloading.t index 4cde153..d1acfc2 100644 --- a/t/040_type_constraints/006_util_type_reloading.t +++ b/t/040_type_constraints/006_util_type_reloading.t @@ -5,11 +5,10 @@ use warnings; use lib 't/lib', 'lib'; -use Test::More tests => 4; +use Test::More; use Test::Exception; - $SIG{__WARN__} = sub { 0 }; eval { require Foo; }; @@ -26,4 +25,6 @@ ok(!$@, '... loaded Bar successfully') || diag $@; delete $INC{'Bar.pm'}; eval { require Bar; }; -ok(!$@, '... re-loaded Bar successfully') || diag $@; \ No newline at end of file +ok(!$@, '... re-loaded Bar successfully') || diag $@; + +done_testing;