Skip to content

Commit

Permalink
Join the array to a string before concating
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Oct 9, 2013
1 parent 52f0039 commit 26cc1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/http-benchmark/runner.rb
Expand Up @@ -214,8 +214,8 @@ def to_s
"(#{queries_per_second} queries per second)\n" +
"Status:\n" +
sorted_response_statuses.collect do |status, percentage|
" #{status}: #{percentage} %\n"
end +
" #{status}: #{percentage} %"
end.join("\n") + "\n" +
"Elapsed time:\n" +
" min: #{min_elapsed_time} sec\n" +
" max: #{max_elapsed_time} sec\n" +
Expand Down

0 comments on commit 26cc1b3

Please sign in to comment.