use warnings;
use Test::More;
-use Test::Exception;
+use Test::Fatal;
{
package Foo;
package Stuff;
use Moose;
- ::lives_ok{ with 'Stuffed::Role';
- } '... this should work correctly';
+ ::is( ::exception { with 'Stuffed::Role';
+ }, undef, '... this should work correctly' );
- ::lives_ok{ with 'Bulkie::Role';
- } '... this should work correctly';
+ ::is( ::exception { with 'Bulkie::Role';
+ }, undef, '... this should work correctly' );
}
done_testing;