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

Add Fiber Test for issue #1264
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-05-24 09:20:24 -07:00
+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]
}