aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-10 14:37:06 -0400
committerKevin Newton <kddnewton@gmail.com>2023-10-13 15:31:30 -0400
commitf64a0434dd215dbefa8c38e8768c68ea431e8d01 (patch)
tree3ed9efc90393f5c3236f89aa420ef56fcd01d536 /test/prism/snapshots
parent5fc34f1cde041e72597c873d3ada8f3b039b991f (diff)
downloadruby-f64a0434dd215dbefa8c38e8768c68ea431e8d01.tar.gz
[ruby/prism] Use current_string to handle %I
https://github.com/ruby/prism/commit/831d5f4b45
Diffstat (limited to 'test/prism/snapshots')
-rw-r--r--test/prism/snapshots/dos_endings.txt2
-rw-r--r--test/prism/snapshots/spanning_heredoc.txt2
-rw-r--r--test/prism/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/prism/snapshots/dos_endings.txt b/test/prism/snapshots/dos_endings.txt
index 73390ffad1..d01c5a7ac9 100644
--- a/test/prism/snapshots/dos_endings.txt
+++ b/test/prism/snapshots/dos_endings.txt
@@ -36,7 +36,7 @@
│ │ ├── opening_loc: ∅
│ │ ├── value_loc: (4,3)-(5,1) = "a\\\r\nb"
│ │ ├── closing_loc: ∅
- │ │ └── unescaped: "ab"
+ │ │ └── unescaped: "a\nb"
│ ├── opening_loc: (4,0)-(4,3) = "%I{"
│ └── closing_loc: (5,1)-(5,2) = "}"
├── @ StringNode (location: (7,0)-(7,4))
diff --git a/test/prism/snapshots/spanning_heredoc.txt b/test/prism/snapshots/spanning_heredoc.txt
index cb99a343ab..884028f054 100644
--- a/test/prism/snapshots/spanning_heredoc.txt
+++ b/test/prism/snapshots/spanning_heredoc.txt
@@ -285,7 +285,7 @@
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── value_loc: (48,12)-(48,14) = "p\\"
│ │ │ │ ├── closing_loc: ∅
- │ │ │ │ └── unescaped: "p\\"
+ │ │ │ │ └── unescaped: "p"
│ │ │ └── @ StringNode (location: (51,0)-(51,1))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: ∅
diff --git a/test/prism/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt b/test/prism/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt
index 2de7dd439c..20496c3cfc 100644
--- a/test/prism/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt
+++ b/test/prism/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt
@@ -15,7 +15,7 @@
│ │ ├── opening_loc: ∅
│ │ ├── value_loc: (4,3)-(5,1) = "a\\\nb"
│ │ ├── closing_loc: ∅
- │ │ └── unescaped: "ab"
+ │ │ └── unescaped: "a\nb"
│ ├── opening_loc: (4,0)-(4,3) = "%I{"
│ └── closing_loc: (5,1)-(5,2) = "}"
├── @ StringNode (location: (7,0)-(8,2))