зеркало из https://github.com/github/ruby.git
* 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:
Родитель
a54832714d
Коммит
1aa408971f
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче