X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F300_immutable%2F007_immutable_trigger_from_constructor.t;h=0ddcc5f97a7112e0b3c90d6f362b625f84d94c9e;hb=0ffc4183de68b15deeec5d662d9cc1d125dabf26;hp=cab557ff8c748abea46bc377926dd94492e1e8ee;hpb=fc1d8369f17d2d6a06ecdcb13199e1d4ecb2e53f;p=gitmo%2FMouse.git diff --git a/t/300_immutable/007_immutable_trigger_from_constructor.t b/t/300_immutable/007_immutable_trigger_from_constructor.t index cab557f..0ddcc5f 100644 --- a/t/300_immutable/007_immutable_trigger_from_constructor.t +++ b/t/300_immutable/007_immutable_trigger_from_constructor.t @@ -3,15 +3,15 @@ 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" @@ -25,7 +25,7 @@ use Test::Exception; __PACKAGE__->meta->make_immutable; #(debug => 1); - no Moose; + no Mouse; } eval { AClass->new(foo => 'bar') };