Tweaks and documenting Mouse::Exporter
[gitmo/Mouse.git] / t / 011-lazy.t
index 168eaf1..2d87867 100644 (file)
@@ -27,7 +27,7 @@ do {
             is   => 'rw',
             lazy => 1,
         );
-    } qr/You must specify a default for lazy attribute 'lazy_no_default'/;
+    } qr/You cannot have lazy attribute \(lazy_no_default\) without specifying a default value for it/;
 };
 
 my $object = Class->new;