can_ok('Foo', 'meta');
isa_ok(Foo->meta, 'Moose::Meta::Class');
-ok(Foo->meta->has_method('meta'), '... we got the &meta method');
-ok(Foo->isa('Moose::Object'), '... Foo is automagically a Moose::Object');
+ok(Foo->meta->has_method('meta'), 'we got the &meta method');
+ok(Foo->isa('Moose::Object'), 'Foo is automagically a Moose::Object');
dies_ok {
Foo->meta->has_method()
-} '... has_method requires an arg';
+} 'has_method requires an arg';
dies_ok {
Foo->meta->has_method('')
-} '... has_method requires an arg';
+} 'has_method requires an arg';
can_ok('Foo', 'does');
coerce from via
find_type_constraint
)) {
- ok(!Foo->meta->has_method($function), '... the meta does not treat "' . $function . '" as a method');
+ ok(!Foo->meta->has_method($function), 'the meta does not treat "' . $function . '" as a method');
}
foreach my $import (qw(