From d55c0f53825546c309dc613e34a96b2b13d61170 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 26 Aug 2007 03:31:20 +0000 Subject: * cont.c: fix to remove Fiber.new until fiber.so is not loaded. * test/ruby/test_continuation.rb: fix to use resume. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_continuation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ruby/test_continuation.rb b/test/ruby/test_continuation.rb index eccc973932..0313d71249 100644 --- a/test/ruby/test_continuation.rb +++ b/test/ruby/test_continuation.rb @@ -46,7 +46,7 @@ class TestContinuation < Test::Unit::TestCase c = nil Fiber.new do callcc {|c2| c = c2 } - end.yield + end.resume c.call } end -- cgit v1.2.3