bump version to 0.16
[gitmo/MooseX-Singleton.git] / 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';
 }