diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_compile_prism.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb index 1e69982148..74efd36ce2 100644 --- a/test/ruby/test_compile_prism.rb +++ b/test/ruby/test_compile_prism.rb @@ -369,8 +369,9 @@ module Prism end def test_AssocSplatNode - # TODO: - # test_prism_eval("foo = { a: 1 }; { **foo }") + test_prism_eval("foo = { a: 1 }; { **foo }") + test_prism_eval("foo = { a: 1 }; bar = foo; { **foo, b: 2, **bar, c: 3 }") + test_prism_eval("foo = { a: 1 }; { b: 2, **foo, c: 3}") end def test_HashNode |
