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:
naruse 2013-01-16 05:30:20 +00:00
parent 247d51a44f
commit 063cdaeddc

View File

@ -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 = {}