diff options
author | Martin Emde <martin.emde@gmail.com> | 2023-11-29 20:02:43 -0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-30 14:10:04 +0000 |
commit | aac8be803409a18f6c32b438d154432eeb6f49e8 (patch) | |
tree | 9543753bc0eaf5edd85bae3f004c484f33e73f98 /test/prism/fixtures | |
parent | 1802d14ca8924bd67e0915c5ad9f1fad5dba0602 (diff) | |
download | ruby-aac8be803409a18f6c32b438d154432eeb6f49e8.tar.gz |
[ruby/prism] Fix lex_compat for `<<HEREDOC # comment` at EOF
Fixes https://github.com/ruby/prism/pull/1874
https://github.com/ruby/prism/commit/304dd78dd2
Diffstat (limited to 'test/prism/fixtures')
-rw-r--r-- | test/prism/fixtures/heredoc_with_comment.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/prism/fixtures/heredoc_with_comment.txt b/test/prism/fixtures/heredoc_with_comment.txt new file mode 100644 index 0000000000..cf48c12051 --- /dev/null +++ b/test/prism/fixtures/heredoc_with_comment.txt @@ -0,0 +1,2 @@ +<<-TARGET # comment
+TARGET
\ No newline at end of file |