We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 064ab9a commit 09d0bc5Copy full SHA for 09d0bc5
S01-perl-5-integration/basic.t
@@ -121,14 +121,16 @@ my $s = 'str';
121
is($result,4,$test);
122
}
123
124
-sub add_in_perl5 ($x, $y) {
125
- use v5;
126
- $x + $y;
127
-}
128
-
129
-eval_lives_ok("{use v5;}", "RT #77596 - use v5 in a block lives");
+#?rakudo 2 skip 'v5 is not in core (yet)'
+{
+ sub add_in_perl5 ($x, $y) {
+ use v5;
+ $x + $y;
+ }
130
131
-is(add_in_perl5(42, 42), 84, 'Defining subroutines with "use v5" blocks');
+ eval_lives_ok("{use v5;}", "RT #77596 - use v5 in a block lives");
132
133
+ is(add_in_perl5(42, 42), 84, 'Defining subroutines with "use v5" blocks');
134
+}
135
136
# vim: ft=perl6
0 commit comments