summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHParker <HParker@github.com>2023-08-17 09:41:14 -0700
committerJemma Issroff <jemmaissroff@gmail.com>2023-08-21 10:43:15 -0700
commit339b34be474debfb1a4452ecf5d62cd491bf07d2 (patch)
tree8a20589cbcaa7c864e8b5a3c3a501bc13d84a54c /test
parent4fb2b3b6bf434a8dc027ca3a0cc3161e99eee26c (diff)
[ruby/yarp] handle missing HEREDOC endline at start of heredoc
https://github.com/ruby/yarp/commit/7b72493b6d
Diffstat (limited to 'test')
-rw-r--r--test/yarp/fixtures/heredoc_with_escaped_newline_at_start.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/yarp/fixtures/heredoc_with_escaped_newline_at_start.txt b/test/yarp/fixtures/heredoc_with_escaped_newline_at_start.txt
new file mode 100644
index 0000000000..81f314e0b3
--- /dev/null
+++ b/test/yarp/fixtures/heredoc_with_escaped_newline_at_start.txt
@@ -0,0 +1,7 @@
+<<-TARGET.gsub /^\s{/, ''\
+TARGET
+
+
+<<-TARGET.gsub /^\s{/, ''\
+TARGET
+