Revert most of the conversion to Test::Fatal so we can redo it
[gitmo/Moose.git] / t / 020_attributes / 014_misc_attribute_coerce_lazy.t
index 67f9100..fe61494 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
 
 
@@ -43,8 +43,8 @@ use Test::Fatal;
 my $r = Request->new;
 isa_ok($r, 'Request');
 
-ok ! exception {
+lives_ok {
     $r->headers;
-}, '... this coerces and passes the type constraint even with lazy';
+} '... this coerces and passes the type constraint even with lazy';
 
 done_testing;