summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/case_in_37.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/seattlerb/case_in_37.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/seattlerb/case_in_37.txt')
-rw-r--r--test/prism/snapshots/seattlerb/case_in_37.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in_37.txt b/test/prism/snapshots/seattlerb/case_in_37.txt
index 46bdcf40b6..b272291f7e 100644
--- a/test/prism/snapshots/seattlerb/case_in_37.txt
+++ b/test/prism/snapshots/seattlerb/case_in_37.txt
@@ -15,7 +15,7 @@
│ ├── pattern:
│ │ @ HashPatternNode (location: (2,3)-(2,19))
│ │ ├── constant: ∅
- │ │ ├── assocs: (length: 1)
+ │ │ ├── elements: (length: 1)
│ │ │ └── @ AssocNode (location: (2,5)-(2,17))
│ │ │ ├── key:
│ │ │ │ @ SymbolNode (location: (2,5)-(2,7))
@@ -37,7 +37,7 @@
│ │ │ │ ├── opening_loc: (2,8)-(2,9) = "["
│ │ │ │ └── closing_loc: (2,16)-(2,17) = "]"
│ │ │ └── operator_loc: ∅
- │ │ ├── kwrest: ∅
+ │ │ ├── rest: ∅
│ │ ├── opening_loc: (2,3)-(2,4) = "{"
│ │ └── closing_loc: (2,18)-(2,19) = "}"
│ ├── statements: