mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add Fiber Test for issue #1264
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user