Clarify that one year starts at the major release which does the deprecation
[gitmo/Moose.git] / t / 020_attributes / 014_misc_attribute_coerce_lazy.t
index 5a47246..57429c1 100644 (file)
@@ -3,8 +3,8 @@
 use strict;
 use warnings;
 
-use Test::More tests => 2;
-use Test::Exception;
+use Test::More;
+use Test::Fatal;
 
 
 
@@ -43,9 +43,8 @@ use Test::Exception;
 my $r = Request->new;
 isa_ok($r, 'Request');
 
-lives_ok {
+is( exception {
     $r->headers;
-} '... this coerces and passes the type constraint even with lazy';
-
-
+}, undef, '... this coerces and passes the type constraint even with lazy' );
 
+done_testing;