1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/method
Kazuhiro NISHIYAMA 13241b71a5
Fix failures on ruby 3.1
Because https://github.com/ruby/ruby/pull/5148 merged after Ruby 3.1.0 released.

https://github.com/ruby/actions/runs/4705986643?check_suite_focus=true#step:18:144
```
  1)
  Method#parameters adds * rest arg for "star" argument FAILED
  Expected [[:rest]] == [[:rest, :*]]
  to be truthy but was false
  /home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/method/parameters_spec.rb:228:in `block (3 levels) in <top (required)>'
  /home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/method/parameters_spec.rb:4:in `<top (required)>'

  2)
  Proc#parameters adds * rest arg for "star" argument FAILED
  Expected [[:req, :x], [:rest]] == [[:req, :x], [:rest, :*]]
  to be truthy but was false
  /home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/proc/parameters_spec.rb:85:in `block (3 levels) in <top (required)>'
  /home/runner/work/actions/actions/snapshot-ruby_3_1/spec/ruby/core/proc/parameters_spec.rb:3:in `<top (required)>'
```
2022-01-05 08:18:47 +09:00
..
fixtures
shared Update to ruby/spec@4ce9f41 2020-12-27 17:35:32 +01:00
arity_spec.rb
call_spec.rb
case_compare_spec.rb
clone_spec.rb
compose_spec.rb Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
curry_spec.rb
element_reference_spec.rb
eql_spec.rb
equal_value_spec.rb
hash_spec.rb
inspect_spec.rb
name_spec.rb
original_name_spec.rb
owner_spec.rb
parameters_spec.rb Fix failures on ruby 3.1 2022-01-05 08:18:47 +09:00
receiver_spec.rb
source_location_spec.rb
super_method_spec.rb
to_proc_spec.rb
to_s_spec.rb
unbind_spec.rb Update to ruby/spec@4ce9f41 2020-12-27 17:35:32 +01:00