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';
+ ::ok ! ::exception { with 'Stuffed::Role';
+ }, '... this should work correctly';
- ::lives_ok{ with 'Bulkie::Role';
- } '... this should work correctly';
+ ::ok ! ::exception { with 'Bulkie::Role';
+ }, '... this should work correctly';
}
done_testing;