use strict;
use warnings;
-use Test::Exception;
-use Test::More tests => 2;
+use Test::Fatal;
+use Test::More;
{
local $TODO = 'UNIVERSAL methods should be wrappable';
- ::lives_ok { with 'FakeBar' } 'applied role';
+ ::is( ::exception { with 'FakeBar' }, undef, 'applied role' );
my $foo = Foo->new;
::isa_ok $foo, 'Bar';
}
+
+done_testing;