use warnings;
use Test::More;
-use t::Exception;
+use Test::Exception;
BEGIN {
- plan skip_all => "Moose required for this test" unless eval { require Moose && Moose->VERSION('0.59') };
+ plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose && Moose->VERSION('0.68') };
plan tests => 27;
}
-use t::Exception;
+use Test::Exception;
{
package Foo;
is_deeply(
- [ sort map { $_->name } Bar->meta->compute_all_applicable_attributes ],
+ [ sort map { $_->name } Bar->meta->get_all_attributes ],
[ sort qw(foo bar) ],
"attributes",
);