summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/dos_endings.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-03-25 08:32:58 -0400
committerKevin Newton <kddnewton@gmail.com>2024-03-25 11:52:09 -0400
commit14ab698967cdaedc0a922a2bdf30dfc69bdba7eb (patch)
tree8917fec07e109a3d077e3bea25c5d77d59cc172d /test/prism/snapshots/dos_endings.txt
parenta31ca3500d995b6706f94ff72166d699c5faeb27 (diff)
[ruby/prism] Handle CLRF inside heredoc contents
https://github.com/ruby/prism/commit/1fbac72485
Diffstat (limited to 'test/prism/snapshots/dos_endings.txt')
-rw-r--r--test/prism/snapshots/dos_endings.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/prism/snapshots/dos_endings.txt b/test/prism/snapshots/dos_endings.txt
index ed75b8a52f..c5b962f218 100644
--- a/test/prism/snapshots/dos_endings.txt
+++ b/test/prism/snapshots/dos_endings.txt
@@ -48,7 +48,7 @@
│ ├── opening_loc: (7,0)-(7,4) = "<<-E"
│ ├── content_loc: (8,0)-(11,0) = " 1 \\\r\n 2\r\n 3\r\n"
│ ├── closing_loc: (11,0)-(12,0) = "E\r\n"
- │ └── unescaped: " 1 2\r\n 3\r\n"
+ │ └── unescaped: " 1 2\n 3\n"
├── @ LocalVariableWriteNode (location: (13,0)-(15,0))
│ ├── name: :x
│ ├── depth: 0
@@ -94,7 +94,7 @@
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── content_loc: (19,0)-(20,0) = " baz\r\n"
│ │ │ │ ├── closing_loc: ∅
- │ │ │ │ └── unescaped: "baz\r\n"
+ │ │ │ │ └── unescaped: "baz\n"
│ │ │ └── closing_loc: (20,0)-(21,0) = " EOF\r\n"
│ │ ├── call_operator_loc: (17,14)-(17,15) = "."
│ │ ├── name: :chop