use strict;
use warnings;
-use Test::More tests => 16;
+use Test::More;
use Test::Exception;
-
{
package Foo::Meta::Attribute;
use Moose;
} '... the attribute metaclass alias worked correctly';
::lives_ok {
- has 'bar' => (metaclass => 'Bar');
+ has 'bar' => (metaclass => 'Bar', is => 'bare');
} '... the attribute metaclass alias worked correctly';
}
isa_ok($bar_attr, 'Moose::Meta::Attribute');
}
-
+done_testing;