aboutsummaryrefslogtreecommitdiffstats
path: root/test/ripper
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-26 00:51:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-26 02:08:53 +0900
commit40efbc7e406699a7a5c56802233d6748bf30805b (patch)
tree94c25cdf4564f06a9c7479403f50f7d394719b7a /test/ripper
parent61c5c2f1c81b926beb20870615af5a738eb250bd (diff)
downloadruby-40efbc7e406699a7a5c56802233d6748bf30805b.tar.gz
[Bug #19851] Ripper: Hide internal block argument ID
Diffstat (limited to 'test/ripper')
-rw-r--r--test/ripper/test_parser_events.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index c4d9a627a6..39dfac6da0 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -152,6 +152,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
thru_args_forward = false
parse(code, :on_args_forward) {thru_args_forward = true}
assert_equal true, thru_args_forward, "no args_forward for: #{code}"
+ parse(code, :on_params) {|*, block| assert_nil(block)}
end
end