summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/heredoc_with_trailing_newline.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/heredoc_with_trailing_newline.txt')
-rw-r--r--test/prism/snapshots/heredoc_with_trailing_newline.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/prism/snapshots/heredoc_with_trailing_newline.txt b/test/prism/snapshots/heredoc_with_trailing_newline.txt
new file mode 100644
index 0000000000..b064931aa8
--- /dev/null
+++ b/test/prism/snapshots/heredoc_with_trailing_newline.txt
@@ -0,0 +1,11 @@
+@ ProgramNode (location: (1,0)-(1,6))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,6))
+ └── body: (length: 1)
+ └── @ StringNode (location: (1,0)-(1,6))
+ ├── flags: ∅
+ ├── opening_loc: (1,0)-(1,6) = "<<-END"
+ ├── content_loc: (2,0)-(2,0) = ""
+ ├── closing_loc: (2,0)-(2,3) = "END"
+ └── unescaped: ""