Commit 4174690d authored by Daniel Bovensiepen's avatar Daniel Bovensiepen

Add Fiber Test for issue #1264

parent aa1cc236
......@@ -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