Revert caching of added methods, since that caused a bug.
[gitmo/Class-MOP.git] / t / 003_methods.t
index d8b71d5..b1c97a7 100644 (file)
@@ -258,7 +258,7 @@ is( $new_method->original_method, $method, '... the cloned method has the correc
     );
 
     {
-        no warnings 'redefine';
+        no warnings 'redefine', 'once';
         *foo = sub {
             my $self = shift;
             $self->{custom_store} = $_[0];