summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-26 03:31:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-26 03:31:20 +0000
commitd55c0f53825546c309dc613e34a96b2b13d61170 (patch)
treead52a0e04085c62836c96fefa118a8e96a80fd13 /test
parent71e6011d63fde90dc7f6dda1e93acfe0c6eae585 (diff)
downloadruby-d55c0f53825546c309dc613e34a96b2b13d61170.tar.gz
* 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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_continuation.rb2
1 files changed, 1 insertions, 1 deletions
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