diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2022-01-06 10:14:11 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2022-01-06 10:14:11 +0900 |
commit | 5e7cd480f968cddc4c6d6ad0e1a4fa74e5ee3938 (patch) | |
tree | 3abfdaf16fc7b9a79e5ce26c2fb1dde77ae97aa1 /class.c | |
parent | 445c055b443b96921eb1fd9cd7b80e86ed4d078b (diff) | |
download | ruby-5e7cd480f968cddc4c6d6ad0e1a4fa74e5ee3938.tar.gz |
Fix spec failure on ruby 3.1
Because https://github.com/ruby/ruby/pull/5148 merged after Ruby 3.1.0 released.
13241b71a50dded0a7b021ec4f2fb6a995daace9 did not fix proc spec yet.
https://github.com/ruby/actions/runs/4718820699?check_suite_focus=true#step:18:173
```
1)
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)>'
```
Diffstat (limited to 'class.c')
0 files changed, 0 insertions, 0 deletions