Commit 9ea1155c authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1265 from bovi/add-fiber-test

Add Fiber Test for issue #1264
parents aa1cc236 4174690d
......@@ -27,3 +27,7 @@ assert('Fiber iteration') {
}
a == [1,9,2,8,3,7]
}
assert('Fiber with splat in the block argument list') {
Fiber.new{|*x|x}.resume(1) == [1]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment