changes-and-comments
[gitmo/Moose.git] / t / 070_more_attr_delegation.t
index 29a5c9d..10d5e8c 100644 (file)
@@ -70,7 +70,7 @@ use Test::Exception;
         has child_a => (
             is      => "ro",
             default => sub { ChildA->new },
-            handles => all_methods,
+            handles => qr/.*/,
         );
     } "all_methods requires explicit isa";
 
@@ -79,7 +79,7 @@ use Test::Exception;
             isa     => "ChildA",
             is      => "ro",
             default => sub { ChildA->new },
-            handles => all_methods,
+            handles => qr/.*/,
         );
     } "allow all_methods with explicit isa";