Convert all tests to done_testing.
[gitmo/Moose.git] / t / 100_bugs / 023_DEMOLISH_fails_without_metaclass.t
index 7e9b9b9..a061244 100644 (file)
@@ -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;