remove_package_symbol is deprecated in package::stash
Jesse Luehrs [Fri, 4 Jan 2013 00:53:42 +0000 (18:53 -0600)]
t/cmop/methods.t

index df12337..1f04477 100644 (file)
@@ -413,7 +413,7 @@ is_deeply(
     my $baz_meta = Class::MOP::Class->initialize('Baz');
     $baz_meta->add_method(foo => sub { });
     my $stash = Package::Stash->new('Baz');
-    $stash->remove_package_symbol('&foo');
+    $stash->remove_symbol('&foo');
     is_deeply([$baz_meta->get_method_list], [], "method is deleted");
     ok(!Baz->can('foo'), "Baz can't foo");
 }