Add Fiber Test for issue #1264

This commit is contained in:
Daniel Bovensiepen
2013-05-24 23:50:03 +08:00
parent aa1cc2360f
commit 4174690d0b
+4
View File
@@ -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]
}