File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ use lib 't/lib';
24
24
25
25
{
26
26
package Child3 ;
27
- use parent " Dummy'Outside" ;
27
+ use if $] != 5.041_003, parent => " Dummy'Outside" ;
28
28
}
29
29
30
30
my $obj = {};
@@ -39,9 +39,12 @@ isa_ok $obj, 'Dummy::InlineChild';
39
39
can_ok $obj , ' exclaim' ;
40
40
is $obj -> exclaim, " I CAN FROM Dummy::InlineChild" , ' Inheritance is set up correctly for inlined classes' ;
41
41
42
- $obj = {};
43
- bless $obj , ' Child3' ;
44
- isa_ok $obj , ' Dummy::Outside' ;
45
- can_ok $obj , ' exclaim' ;
46
- is $obj -> exclaim, " I CAN FROM Dummy::Outside" , " Inheritance is set up correctly for classes inherited from via '" ;
47
-
42
+ SKIP:
43
+ {
44
+ skip " No ' in names in 5.041_003" , 3 if $] == 5.041_003;
45
+ $obj = {};
46
+ bless $obj , ' Child3' ;
47
+ isa_ok $obj , ' Dummy::Outside' ;
48
+ can_ok $obj , ' exclaim' ;
49
+ is $obj -> exclaim, " I CAN FROM Dummy::Outside" , " Inheritance is set up correctly for classes inherited from via '" ;
50
+ }
You can’t perform that action at this time.
0 commit comments