mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@15c9619
This commit is contained in:
parent
00c33d9c23
commit
a1b4816759
193 changed files with 3026 additions and 3387 deletions
|
@ -168,6 +168,7 @@ static VALUE kernel_spec_rb_protect_yield(VALUE self, VALUE obj, VALUE ary) {
|
|||
int status = 0;
|
||||
VALUE res = rb_protect(rb_yield, obj, &status);
|
||||
rb_ary_store(ary, 0, INT2NUM(23));
|
||||
rb_ary_store(ary, 1, res);
|
||||
if (status) {
|
||||
rb_jump_tag(status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue