summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-12-13 14:40:34 +0000
committerJemma Issroff <jemmaissroff@gmail.com>2023-12-14 07:01:19 -0500
commita10c11a66bae7ec4bfb56d0ccfe74a0c6681fc77 (patch)
tree7176f5c84520bc2f6f67eb2375974f255c8e4f09 /test/ruby
parente51f9e9f75cc1dde9234836fa92077d71b3c5141 (diff)
[PRISM] Add anon KW args to the block local table
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_compile_prism.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb
index 0c95f1b194..6a942cfff1 100644
--- a/test/ruby/test_compile_prism.rb
+++ b/test/ruby/test_compile_prism.rb
@@ -1632,6 +1632,7 @@ module Prism
def test_KeywordRestParameterNode
assert_prism_eval("def prism_test_keyword_rest_parameter_node(a, **b); end")
+ assert_prism_eval("Object.tap { |**| }")
end
def test_NoKeywordsParameterNode