Redid conversion to Test::Fatal
[gitmo/Moose.git] / t / 300_immutable / 003_immutable_meta_class.t
index 1a1b662..2f540d6 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Exception;
+use Test::Fatal;
 
 
 {
@@ -20,8 +20,8 @@ use Test::Exception;
     );
 }
 
-lives_ok {
+is( exception {
     My::Meta->meta()->make_immutable(debug => 0)
-} '... can make a meta class immutable';
+}, undef, '... can make a meta class immutable' );
 
 done_testing;