summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-01 18:12:55 +0900
committergit <svn-admin@ruby-lang.org>2023-12-01 11:33:26 +0000
commit64c4bbb86cf5c2a7710bef4d481c6a05f780c632 (patch)
tree8e358dacfd552af9ef90bff3f85d39d1f3984625
parente005c517325f3559acd2c75d368a58b50ebbb0f9 (diff)
[ruby/prism] Add test/prism/snapshots/heredoc_with_comment.txt
https://github.com/ruby/prism/commit/97b296a0f7
-rw-r--r--test/prism/snapshots/heredoc_with_comment.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/prism/snapshots/heredoc_with_comment.txt b/test/prism/snapshots/heredoc_with_comment.txt
new file mode 100644
index 0000000000..98d9af9095
--- /dev/null
+++ b/test/prism/snapshots/heredoc_with_comment.txt
@@ -0,0 +1,11 @@
+@ ProgramNode (location: (1,0)-(1,9))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,9))
+ └── body: (length: 1)
+ └── @ StringNode (location: (1,0)-(1,9))
+ ├── flags: ∅
+ ├── opening_loc: (1,0)-(1,9) = "<<-TARGET"
+ ├── content_loc: (2,0)-(2,0) = ""
+ ├── closing_loc: (2,0)-(2,6) = "TARGET"
+ └── unescaped: ""