diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/heredoc_bad_oct_escape.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/heredoc_bad_oct_escape.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/heredoc_bad_oct_escape.txt b/test/prism/snapshots/seattlerb/heredoc_bad_oct_escape.txt new file mode 100644 index 0000000000..7a01f8d6d1 --- /dev/null +++ b/test/prism/snapshots/seattlerb/heredoc_bad_oct_escape.txt @@ -0,0 +1,17 @@ +@ ProgramNode (location: (1,0)-(1,10)) +├── locals: [:s] +└── statements: + @ StatementsNode (location: (1,0)-(1,10)) + └── body: (length: 1) + └── @ LocalVariableWriteNode (location: (1,0)-(1,10)) + ├── name: :s + ├── depth: 0 + ├── name_loc: (1,0)-(1,1) = "s" + ├── value: + │ @ StringNode (location: (1,4)-(1,10)) + │ ├── flags: forced_utf8_encoding + │ ├── opening_loc: (1,4)-(1,10) = "<<-EOS" + │ ├── content_loc: (2,0)-(4,0) = "a\\247b\ncöd\n" + │ ├── closing_loc: (4,0)-(5,0) = "EOS\n" + │ └── unescaped: "a\xA7b\ncöd\n" + └── operator_loc: (1,2)-(1,3) = "=" |