use warnings;
use Test::More;
-use Test::Fatal;
+use Test::Exception;
{
package Dog::Role;
use Moose::Role;
- ::ok ::exception {
+ ::dies_ok {
before qr/bark.*/ => sub {};
- }, '... this is not currently supported';
+ } '... this is not currently supported';
- ::ok ::exception {
+ ::dies_ok {
around qr/bark.*/ => sub {};
- }, '... this is not currently supported';
+ } '... this is not currently supported';
- ::ok ::exception {
+ ::dies_ok {
after qr/bark.*/ => sub {};
- }, '... this is not currently supported';
+ } '... this is not currently supported';
}