9 if (exists $INC{'B.pm'} or exists $INC{'B/Deparse.pm'}) {
10 plan skip_all => 'Test::More loaded B or B::Deparse for some reason';
26 is_deeply [ sort +stash_keys 'B' ], [ sort
27 qw/OP:: Deparse:: Hooks::/,
29 ], 'No extra symbols in B::';
30 is_deeply [ sort +stash_keys 'B::Deparse' ], [ ], 'No symbols in B::Deparse';
36 for my $meth (qw/first can/) {
37 ok do { no strict 'refs'; defined &{"B::OP::$meth"} },
38 "B::OP::$meth is now defined";
45 for my $meth (qw/pp_custom/) {
46 ok do { no strict 'refs'; defined &{"B::Deparse::$meth"} },
47 "B::Deparse::$meth is now defined";