Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tests for RT #120788.
  • Loading branch information
jnthn committed Nov 12, 2015
1 parent eff792a commit 7a7165d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion S02-literals/quoting.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 176;
plan 178;

my $foo = "FOO";
my $bar = "BAR";
Expand Down Expand Up @@ -593,4 +593,13 @@ is "\c@a", "\0a", '\c@ is a NUL';
is $res, 1, '<< a b >> does not accidentally flatten into arg list';
}
# RT #120788
is q :heredoc :c "EOF", "2+3=5\n", ':c applied after :heredoc has effect';
2+3={2+3}
EOF
is q :heredoc :w "EOF", <omg wtf bbq amazing cat>, ':w applied after :heredoc has effect';
omg wtf bbq
amazing cat
EOF
# vim: ft=perl6

0 comments on commit 7a7165d

Please sign in to comment.