mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed a minor warning in 1.9.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9698217cda
commit
f83bc706bf
1 changed files with 2 additions and 2 deletions
|
@ -628,8 +628,8 @@ module MiniTest
|
|||
|
||||
results = _run_suites suites, type
|
||||
|
||||
@test_count = results.inject(0) { |sum, (tc, ac)| sum + tc }
|
||||
@assertion_count = results.inject(0) { |sum, (tc, ac)| sum + ac }
|
||||
@test_count = results.inject(0) { |sum, (tc, _)| sum + tc }
|
||||
@assertion_count = results.inject(0) { |sum, (_, ac)| sum + ac }
|
||||
|
||||
output.sync = old_sync if sync
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue