Fix test failure on spec/ruby/language/pattern_matching_spec.rb
Fix test failure on spec/ruby/language/pattern_matching_spec.rb

https://github.com/ruby/ruby/runs/3369486308

nobu/rubyspec,ruby/spec,ruby/spec,nobu/rubyspec,nobu/rubyspec,ruby/spec