diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-11-13 09:41:47 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-13 09:41:47 -0800 |
commit | f3d2f32d14be3c0a0c8b7228649181b430f8d11a (patch) | |
tree | 2645787923b3a2d08759aee133ce8427e58ebd32 /t/mro | |
parent | beeda1437785916becc8ab64bf5576025a49b65f (diff) | |
download | perl-f3d2f32d14be3c0a0c8b7228649181b430f8d11a.tar.gz |
Make delete $package::{ISA} work
Diffstat (limited to 't/mro')
-rw-r--r-- | t/mro/basic.t | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/t/mro/basic.t b/t/mro/basic.t index 1ecfd213a0..c6f25429b8 100644 --- a/t/mro/basic.t +++ b/t/mro/basic.t @@ -3,7 +3,7 @@ use strict; use warnings; -BEGIN { require q(./test.pl); } plan(tests => 50); +BEGIN { require q(./test.pl); } plan(tests => 51); require mro; @@ -312,3 +312,11 @@ is(eval { MRO_N->testfunc() }, 123); ok 'Extra::TSpouse'->isa('Class::Trait::Base'), 'a isa b after undef *a::ISA and @a::ISA modification'; } + +{ + # Deleting $package::{ISA} + # Broken in 5.10.0; fixed in 5.13.7 + @Blength::ISA = 'Bladd'; + delete $Blength::{ISA}; + ok !Blength->isa("Bladd"), 'delete $package::{ISA}'; +} |