Skip to content

Commit

Permalink
Test heredoc trimming warnings don't reference guts
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 14, 2016
1 parent 53091aa commit 171d5c6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S02-literals/heredocs.t
@@ -1,6 +1,8 @@
use v6;
use lib <t/spec/packages/>;
use Test;
plan 22;
use Test::Util;
plan 23;

my $foo = "FOO";
my $bar = "BAR";
Expand Down Expand Up @@ -210,3 +212,9 @@ END
"foo: bar\n\techo 'AGAIN';\nbar:\n\techo 'OHAI';\n"),
"Heredoc tab explosion makefile use case is usesul.";
}

# RT #129838
is_run "my \$x = q:to/END/;\ny\n END", {
:out(''),
:err{ not .contains('Actions.nqp') }
}, 'heredoc trimming warnings do not reference guts';

0 comments on commit 171d5c6

Please sign in to comment.