regularise test for Carp vivifying B stash
authorZefram <zefram@fysh.org>
Fri, 23 Aug 2013 21:58:41 +0000 (22:58 +0100)
committerZefram <zefram@fysh.org>
Sat, 24 Aug 2013 01:17:44 +0000 (02:17 +0100)
commitf864cbead6c53937ae2608099abd8c3d838de505
tree1a407204efc18a60790cda8069ecdf9bd5988c0d
parent8ef6e574dc20ae6630168de22486c9083ad307af
regularise test for Carp vivifying B stash

There's an old test to check that Carp doesn't vivify B:: despite
attempting to use B::svref_2object().  Turn this into the same kind of
test now used for overload::StrVal() and utf8::downgrade(), testing more
cleanly for stash vivification and also testing for GV vivification.
dist/Carp/t/Carp.t
dist/Carp/t/vivify_gv.t
dist/Carp/t/vivify_stash.t