diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-26 03:31:20 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-26 03:31:20 +0000 |
| commit | e133010c82109224cfade7c20628dd30797de917 (patch) | |
| tree | ad52a0e04085c62836c96fefa118a8e96a80fd13 /test/ruby | |
| parent | d26c365481b328cc283a411dc56704f7981178c4 (diff) | |
| download | ruby-e133010c82109224cfade7c20628dd30797de917.tar.gz ruby-e133010c82109224cfade7c20628dd30797de917.tar.xz ruby-e133010c82109224cfade7c20628dd30797de917.zip | |
* 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
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_continuation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
