X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F100_bugs%2F023_DEMOLISH_fails_without_metaclass.t;h=a061244ed8e847a4c738942aff96167c7bf016c0;hb=a28e50e44945358d15eb19e4688573741a319fe0;hp=7e9b9b9c1fadaa3caccfa10e7ef7343f2a6f752a;hpb=1b806c9945d6c57dca3805ae7924571df08aec03;p=gitmo%2FMoose.git diff --git a/t/100_bugs/023_DEMOLISH_fails_without_metaclass.t b/t/100_bugs/023_DEMOLISH_fails_without_metaclass.t index 7e9b9b9..a061244 100644 --- a/t/100_bugs/023_DEMOLISH_fails_without_metaclass.t +++ b/t/100_bugs/023_DEMOLISH_fails_without_metaclass.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 2; +use Test::More; use Test::Exception; { @@ -32,3 +32,5 @@ Class::MOP::remove_metaclass_by_name('MyClass'); # help us prevent it happening in the future. lives_ok { $object->DESTROY } 'can call DESTROY on an object without a metaclass object in the CMOP cache (immutable version)'; + +done_testing;