4 package My::Meta::Trait;
9 before 'make_immutable' => sub {
11 # $meta->name->meta should have the correct methods on it..
12 $FAILED++ unless $meta->name->meta->get_method('some_method');
17 use Moose -traits => 'My::Meta::Trait';
21 __PACKAGE__->meta->make_immutable;
24 use Test::More tests => 1;
26 local $TODO = 'This broke as of 07302fb';
27 is $My::Meta::Trait::FAILED, 0, 'Can find method';