mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
20f1c6c185
commit
b58dc42abb
1 changed files with 2 additions and 2 deletions
|
@ -20,13 +20,13 @@ end
|
|||
|
||||
def run_benchmark(length, repeats, message = :hello)
|
||||
chain = nil
|
||||
|
||||
|
||||
chain = make_chain(length) do
|
||||
while true
|
||||
Fiber.yield(message)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
repeats.times do
|
||||
abort "invalid result" unless chain.resume == message
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue