diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-10-11 13:58:00 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-10-13 15:31:30 -0400 |
commit | d0614b5254d1767cdffdd32f13897dc10facc6a2 (patch) | |
tree | 8d56dd7cfe9a5700da2e447da3fb6cf466001184 /test/prism/snapshots/dos_endings.txt | |
parent | ad46fc093b1344b4129ef5199060402e9270b652 (diff) |
[ruby/prism] Split up lines in tilde heredocs
https://github.com/ruby/prism/commit/21fad0c2ce
Diffstat (limited to 'test/prism/snapshots/dos_endings.txt')
-rw-r--r-- | test/prism/snapshots/dos_endings.txt | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/test/prism/snapshots/dos_endings.txt b/test/prism/snapshots/dos_endings.txt index d01c5a7ac9..7e553ed932 100644 --- a/test/prism/snapshots/dos_endings.txt +++ b/test/prism/snapshots/dos_endings.txt @@ -72,12 +72,22 @@ │ │ └── arguments: (length: 1) │ │ └── @ CallNode (location: (17,8)-(17,19)) │ │ ├── receiver: - │ │ │ @ StringNode (location: (17,8)-(17,14)) - │ │ │ ├── flags: ∅ + │ │ │ @ InterpolatedStringNode (location: (17,8)-(17,14)) │ │ │ ├── opening_loc: (17,8)-(17,14) = "<<~EOF" - │ │ │ ├── content_loc: (18,0)-(19,0) = "\r\n baz\r\n" - │ │ │ ├── closing_loc: (20,0)-(20,0) = " EOF\r\n" - │ │ │ └── unescaped: "\nbaz\r\n" + │ │ │ ├── parts: (length: 2) + │ │ │ │ ├── @ StringNode (location: (18,0)-(18,0)) + │ │ │ │ │ ├── flags: ∅ + │ │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ │ ├── content_loc: (18,0)-(18,0) = "\r\n" + │ │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ │ └── unescaped: "\n" + │ │ │ │ └── @ StringNode (location: (19,0)-(19,0)) + │ │ │ │ ├── flags: ∅ + │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ ├── content_loc: (19,0)-(19,0) = " baz\r\n" + │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ └── unescaped: "baz\r\n" + │ │ │ └── closing_loc: (20,0)-(20,0) = " EOF\r\n" │ │ ├── call_operator_loc: (17,14)-(17,15) = "." │ │ ├── message_loc: (17,15)-(17,19) = "chop" │ │ ├── opening_loc: ∅ |