diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-10-11 20:45:39 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-10-13 15:31:30 -0400 |
commit | 8bf0d381dcf199f8e2a7b40e4b51bfe275f5d2a6 (patch) | |
tree | eaf341649bcbe45463d516245b9d4ed0e2c26657 /test/prism/snapshots | |
parent | d0614b5254d1767cdffdd32f13897dc10facc6a2 (diff) | |
download | ruby-8bf0d381dcf199f8e2a7b40e4b51bfe275f5d2a6.tar.gz |
[ruby/prism] Use current_string for %s symbol literals
https://github.com/ruby/prism/commit/52504f8911
Diffstat (limited to 'test/prism/snapshots')
-rw-r--r-- | test/prism/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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 20496c3cfc..35e53c9bef 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 @@ -59,7 +59,7 @@ │ ├── opening_loc: (22,0)-(22,3) = "%s{" │ ├── value_loc: (22,3)-(23,1) = "a\\\nb" │ ├── closing_loc: (23,1)-(23,2) = "}" - │ └── unescaped: "ab" + │ └── unescaped: "a\\\nb" ├── @ ArrayNode (location: (25,0)-(26,2)) │ ├── elements: (length: 1) │ │ └── @ StringNode (location: (25,3)-(26,1)) @@ -102,7 +102,7 @@ │ ├── opening_loc: (43,0)-(43,2) = ":'" │ ├── value_loc: (43,2)-(44,1) = "a\\\nb" │ ├── closing_loc: (44,1)-(44,2) = "'" - │ └── unescaped: "ab" + │ └── unescaped: "a\\\nb" ├── @ StringNode (location: (46,0)-(46,9)) │ ├── flags: ∅ │ ├── opening_loc: (46,0)-(46,9) = "<<-\"HERE\"" |