Add canonicalize_args, factor lazy_build canonicalization/validation into the right...
[gitmo/Mouse.git] / t / 023-builder.t
index f8a2a2e..6b3e35e 100644 (file)
@@ -106,7 +106,7 @@ do {
             lazy_build => 1,
             default => 1,
         );
-    } qr/You can not use lazy_build and default for the same attribute error/;
+    } qr/You can not use lazy_build and default for the same attribute \(error\)/;
 };
 
 my @calls;
@@ -120,7 +120,6 @@ do {
         builder    => 'build_my_customs',
         predicate  => 'has_my_customs',
         clearer    => 'clear_my_customs',
-
     );
 
     sub build_my_customs {
@@ -129,7 +128,6 @@ do {
     }
 };
 
-
 my $cb = Class::CustomBuilder->new;
 ok(!$cb->has_my_customs, "correct predicate");
 is($cb->custom, 'yo');
@@ -160,3 +158,4 @@ is_deeply([splice @calls], ['_build__attr']);
 ok($cub->_has_attr, "correct predicate");
 ok($cub->_clear_attr, "correct clearer");
 ok(!$cub->_has_attr, "correct predicate");
+