use warnings;
use Test::More;
-use Test::Fatal;
+use Test::Exception;
=pod
override 'bling' => sub { "FooRole::bling:override" };
override 'fling' => sub { "FooRole::fling:override" };
- ::ok ::exception { extends() }, '... extends() is not supported';
- ::ok ::exception { augment() }, '... augment() is not supported';
- ::ok ::exception { inner() }, '... inner() is not supported';
+ ::dies_ok { extends() } '... extends() is not supported';
+ ::dies_ok { augment() } '... augment() is not supported';
+ ::dies_ok { inner() } '... inner() is not supported';
no Moose::Role;
}