summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-23 10:42:55 -0400
committergit <svn-admin@ruby-lang.org>2023-10-27 02:09:33 +0000
commita40e2b8ee9632b07064af4c99efdafda814df391 (patch)
tree67c0817abf5ce62084a583b45e782cd205e6e6ec /test/prism/snapshots/whitequark/newline_in_hash_argument.txt
parent9a618b95cdee82b64257a248c31d49ae9f066fea (diff)
[ruby/prism] Fix parsing lone assoc splat within hash patterns
https://github.com/ruby/prism/commit/1da5e05672
Diffstat (limited to 'test/prism/snapshots/whitequark/newline_in_hash_argument.txt')
-rw-r--r--test/prism/snapshots/whitequark/newline_in_hash_argument.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/prism/snapshots/whitequark/newline_in_hash_argument.txt b/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
index 3c575f4a1b..9d29c284e4 100644
--- a/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
+++ b/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
@@ -20,7 +20,7 @@
│ │ │ ├── pattern:
│ │ │ │ @ HashPatternNode (location: (2,3)-(2,5))
│ │ │ │ ├── constant: ∅
- │ │ │ │ ├── assocs: (length: 1)
+ │ │ │ │ ├── elements: (length: 1)
│ │ │ │ │ └── @ AssocNode (location: (2,3)-(2,5))
│ │ │ │ │ ├── key:
│ │ │ │ │ │ @ SymbolNode (location: (2,3)-(2,5))
@@ -30,7 +30,7 @@
│ │ │ │ │ │ └── unescaped: "a"
│ │ │ │ │ ├── value: ∅
│ │ │ │ │ └── operator_loc: ∅
- │ │ │ │ ├── kwrest: ∅
+ │ │ │ │ ├── rest: ∅
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ └── closing_loc: ∅
│ │ │ ├── statements:
@@ -45,7 +45,7 @@
│ │ ├── pattern:
│ │ │ @ HashPatternNode (location: (5,3)-(5,7))
│ │ │ ├── constant: ∅
- │ │ │ ├── assocs: (length: 1)
+ │ │ │ ├── elements: (length: 1)
│ │ │ │ └── @ AssocNode (location: (5,3)-(5,7))
│ │ │ │ ├── key:
│ │ │ │ │ @ SymbolNode (location: (5,3)-(5,7))
@@ -55,7 +55,7 @@
│ │ │ │ │ └── unescaped: "b"
│ │ │ │ ├── value: ∅
│ │ │ │ └── operator_loc: ∅
- │ │ │ ├── kwrest: ∅
+ │ │ │ ├── rest: ∅
│ │ │ ├── opening_loc: ∅
│ │ │ └── closing_loc: ∅
│ │ ├── statements: