use strict;
use warnings;
-use Test::More tests => 2;
-use Test::Exception;
+use Test::More;
+use Test::Fatal;
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;