X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F025-more-isa.t;h=6e621a7e3a1689cb5a202de6b83a60d232e3c32a;hb=2dac5cb06eec85c3c7ef6b745b746b136aa9ae98;hp=3e18e967cc5a0cd22adc8c8dbd033a37cf81a54d;hpb=ff6870694bb440c13826e0f0fa25e760247fd24e;p=gitmo%2FMouse.git diff --git a/t/025-more-isa.t b/t/025-more-isa.t index 3e18e96..6e621a7 100755 --- a/t/025-more-isa.t +++ b/t/025-more-isa.t @@ -74,7 +74,7 @@ do { package A; our @VERSION; - package B; + package Bx; # 'B' conflicts the B module our $VERSION = 1; package C; @@ -92,6 +92,7 @@ do { sub bar {} package I; + no warnings 'once'; # work around 5.6.2 our $NOT_CODE = 1; }; @@ -105,7 +106,7 @@ do { ); }; -for ('B', 'D'..'E', 'G::H') { +for ('Bx', 'D'..'E', 'G::H') { lives_ok { ClassNameTests->new(class => $_); };