X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F001_mouse%2F014-build.t;h=b1e3293d4766e0828df2f759334a934fc6d5b8f9;hb=e128626c409797822ffd8a4079f833eb3dc0fd37;hp=0eaff9053b6d037169e10aeefd0c21c059a3c1b1;hpb=289e54309468b5da0fb0774fd1db627ee337fb82;p=gitmo%2FMouse.git diff --git a/t/001_mouse/014-build.t b/t/001_mouse/014-build.t index 0eaff90..b1e3293 100644 --- a/t/001_mouse/014-build.t +++ b/t/001_mouse/014-build.t @@ -37,7 +37,7 @@ do { is_deeply([splice @called], [], "no BUILD calls yet"); -with_immutable { +with_immutable sub { my $object = Class->new; ok defined($object), $object->meta->is_immutable() ? 'mutable' : 'immutable'; @@ -51,5 +51,5 @@ with_immutable { $child->BUILDALL({}); is_deeply([splice @called], ["Class::BUILD", "Child::BUILD"], 'BUILDALL'); -} qw(Class Child); +}, qw(Class Child);