Skip to content

Commit 7a7165d

Browse files
committed
Tests for RT #120788.
1 parent eff792a commit 7a7165d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

S02-literals/quoting.t

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use v6;
22
use Test;
3-
plan 176;
3+
plan 178;
44

55
my $foo = "FOO";
66
my $bar = "BAR";
@@ -593,4 +593,13 @@ is "\c@a", "\0a", '\c@ is a NUL';
593593
is $res, 1, '<< a b >> does not accidentally flatten into arg list';
594594
}
595595
596+
# RT #120788
597+
is q :heredoc :c "EOF", "2+3=5\n", ':c applied after :heredoc has effect';
598+
2+3={2+3}
599+
EOF
600+
is q :heredoc :w "EOF", <omg wtf bbq amazing cat>, ':w applied after :heredoc has effect';
601+
omg wtf bbq
602+
amazing cat
603+
EOF
604+
596605
# vim: ft=perl6

0 commit comments

Comments
 (0)