mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_enumerator.rb (test_nested_iteration): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a54832714d
commit
1aa408971f
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class TestEnumerator < Test::Unit::TestCase
|
|||
}
|
||||
end
|
||||
|
||||
def test_nested_itaration
|
||||
def test_nested_iteration
|
||||
def (o = Object.new).each
|
||||
yield :ok1
|
||||
yield [:ok2, :x].each.next
|
||||
|
|
2
vm.c
2
vm.c
|
@ -1216,7 +1216,7 @@ vm_exec(rb_thread_t *th)
|
|||
vm_loop_start:
|
||||
result = vm_exec_core(th, initial);
|
||||
if ((state = th->state) != 0) {
|
||||
#ifdef __llvm__ /* LLVM optimization guard for TestEnumerator#test_nested_itaration */
|
||||
#ifdef __llvm__ /* LLVM optimization guard for TestEnumerator#test_nested_iteration */
|
||||
(void)__extension__({rb_thread_t t = *th; t;});
|
||||
#endif
|
||||
err = result;
|
||||
|
|
Loading…
Reference in a new issue