diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-24 09:20:24 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-24 09:20:24 -0700 |
| commit | 9ea1155c983515f0cf31b463fa802493935650e6 (patch) | |
| tree | fed505563eb225928aad616c23626c56ab49f0d0 | |
| parent | aa1cc2360f268e1d3b1827d0cb9297d4f6fd903c (diff) | |
| parent | 4174690d0b942e25db77dc42ff8c153bc6bf1e5b (diff) | |
| download | mruby-9ea1155c983515f0cf31b463fa802493935650e6.tar.gz mruby-9ea1155c983515f0cf31b463fa802493935650e6.zip | |
Merge pull request #1265 from bovi/add-fiber-test
Add Fiber Test for issue #1264
| -rw-r--r-- | mrbgems/mruby-fiber/test/fiber.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-fiber/test/fiber.rb b/mrbgems/mruby-fiber/test/fiber.rb index edb2096b6..0b20cb591 100644 --- a/mrbgems/mruby-fiber/test/fiber.rb +++ b/mrbgems/mruby-fiber/test/fiber.rb @@ -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] +} |
