use strict;
use warnings;
-use Test::More tests => 3;
+use Test::More;
use Test::Exception;
-
+plan tests => 3;
{
package AClass;
- use Moose;
+ use Mouse;
has 'foo' => (is => 'rw', isa => 'Maybe[Str]', trigger => sub {
die "Pulling the Foo trigger\n"
__PACKAGE__->meta->make_immutable; #(debug => 1);
- no Moose;
+ no Mouse;
}
eval { AClass->new(foo => 'bar') };