diff options
Diffstat (limited to 'test/prism/fixtures/unparser/corpus/literal/dstr.txt')
-rw-r--r-- | test/prism/fixtures/unparser/corpus/literal/dstr.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/prism/fixtures/unparser/corpus/literal/dstr.txt b/test/prism/fixtures/unparser/corpus/literal/dstr.txt new file mode 100644 index 0000000000..8a912d28ed --- /dev/null +++ b/test/prism/fixtures/unparser/corpus/literal/dstr.txt @@ -0,0 +1,37 @@ +if true + "#{}a" +end +if true + <<-HEREDOC +a +#{}a +b + HEREDOC + x +end +<<-HEREDOC +\#{}\#{} +#{} +#{} +#{} +HEREDOC +<<-HEREDOC rescue nil +#{} +a +HEREDOC +"a#$1" +"a#$a" +"a#@a" +"a#@@a" +if true + return <<-HEREDOC + #{42} + HEREDOC +end +foo(<<-HEREDOC) + #{bar} +HEREDOC +foo(<<-HEREDOC) { |x| + #{bar} +HEREDOC +} |