From e133010c82109224cfade7c20628dd30797de917 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: http://svn.ruby-lang.org/repos/ruby/trunk@13278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_continuation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_continuation.rb b/test/ruby/test_continuation.rb index eccc97393..0313d7124 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