diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-26 00:51:39 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-26 02:08:53 +0900 |
commit | 40efbc7e406699a7a5c56802233d6748bf30805b (patch) | |
tree | 94c25cdf4564f06a9c7479403f50f7d394719b7a /test/ripper | |
parent | 61c5c2f1c81b926beb20870615af5a738eb250bd (diff) | |
download | ruby-40efbc7e406699a7a5c56802233d6748bf30805b.tar.gz |
[Bug #19851] Ripper: Hide internal block argument ID
Diffstat (limited to 'test/ripper')
-rw-r--r-- | test/ripper/test_parser_events.rb | 1 |
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 |