From: Jesse Luehrs Date: Fri, 4 Jan 2013 00:53:42 +0000 (-0600) Subject: remove_package_symbol is deprecated in package::stash X-Git-Tag: 2.0800~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=80748248edaa49147aaae76a1a38eebd3cfe4150;p=gitmo%2FMoose.git remove_package_symbol is deprecated in package::stash --- diff --git a/t/cmop/methods.t b/t/cmop/methods.t index df12337..1f04477 100644 --- a/t/cmop/methods.t +++ b/t/cmop/methods.t @@ -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"); }