Remove commenting out tests introduced by r38478
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
247d51a44f
commit
063cdaeddc
@ -4,9 +4,7 @@ require 'continuation'
|
|||||||
require_relative './envutil'
|
require_relative './envutil'
|
||||||
|
|
||||||
class TestFiber < Test::Unit::TestCase
|
class TestFiber < Test::Unit::TestCase
|
||||||
if false
|
|
||||||
def test_normal
|
def test_normal
|
||||||
f = Fiber.current
|
|
||||||
assert_equal(:ok2,
|
assert_equal(:ok2,
|
||||||
Fiber.new{|e|
|
Fiber.new{|e|
|
||||||
assert_equal(:ok1, e)
|
assert_equal(:ok1, e)
|
||||||
@ -79,7 +77,7 @@ if false
|
|||||||
f.resume
|
f.resume
|
||||||
}
|
}
|
||||||
assert_raise(RuntimeError){
|
assert_raise(RuntimeError){
|
||||||
f = Fiber.new{
|
Fiber.new{
|
||||||
@c = callcc{|c| @c = c}
|
@c = callcc{|c| @c = c}
|
||||||
}.resume
|
}.resume
|
||||||
@c.call # cross fiber callcc
|
@c.call # cross fiber callcc
|
||||||
@ -279,7 +277,6 @@ if false
|
|||||||
puts :ng # unreachable.
|
puts :ng # unreachable.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
def invoke_rec script, vm_stack_size, machine_stack_size, use_length = true
|
def invoke_rec script, vm_stack_size, machine_stack_size, use_length = true
|
||||||
env = {}
|
env = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user