make_immutable keyword was removed
Shawn M Moore [Tue, 13 May 2008 06:43:22 +0000 (06:43 +0000)]
t/003-immutable.t

index 9cc74ec..bb0fc6c 100644 (file)
@@ -40,7 +40,7 @@ BEGIN {
         $self->bag->{$key} += $value;
     }
 
-    ::warning_is sub { make_immutable }, '',
+    ::warning_is sub { __PACKAGE__->meta->make_immutable }, '',
         'no warnings when calling make_immutable';
 }