From: Shawn M Moore Date: Tue, 10 Jun 2008 03:25:14 +0000 (+0000) Subject: Don't use meta in the reference test, Moose doesn't like it being invoked as a function X-Git-Tag: 0.04~60 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=085c18e99e18eb6715c7d294603ff28bcbd6c4e7;p=gitmo%2FMouse.git Don't use meta in the reference test, Moose doesn't like it being invoked as a function --- diff --git a/t/017-default-reference.t b/t/017-default-reference.t index 05f28d2..41d2593 100644 --- a/t/017-default-reference.t +++ b/t/017-default-reference.t @@ -39,7 +39,7 @@ do { ::throws_ok { has d => ( is => 'rw', - default => meta(), + default => Test::Builder->new, ); } qr/References are not allowed as default values/; };