Don't use meta in the reference test, Moose doesn't like it being invoked as a function
Shawn M Moore [Tue, 10 Jun 2008 03:25:14 +0000 (03:25 +0000)]
t/017-default-reference.t

index 05f28d2..41d2593 100644 (file)
@@ -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/;
 };