Revert most of the conversion to Test::Fatal so we can redo it
[gitmo/Moose.git] / t / 300_immutable / 007_immutable_trigger_from_constructor.t
index ee667b5..bc86c1d 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
 
 {
@@ -33,6 +33,6 @@ like ($@, qr/^Pulling the Foo trigger/, "trigger from immutable constructor");
 eval { AClass->new(baz => 'bar') };
 like ($@, qr/^Pulling the Baz trigger/, "trigger from immutable constructor");
 
-ok ! exception { AClass->new(bar => 'bar') }, '... no triggers called';
+lives_ok { AClass->new(bar => 'bar') } '... no triggers called';
 
 done_testing;