Revert most of the conversion to Test::Fatal so we can redo it
[gitmo/Moose.git] / t / 070_native_traits / 101_remove_attribute.t
index 7c59b18..5e9305d 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Fatal;
+use Test::Exception;
 
 {
     package MyHomePage;
@@ -33,9 +33,9 @@ can_ok( $page, $_ ) for qw[
     reset_counter
 ];
 
-ok ! exception {
+lives_ok {
     $page->meta->remove_attribute('counter');
-},
+}
 '... removed the counter attribute okay';
 
 ok( !$page->meta->has_attribute('counter'),