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