mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
assertions.rb: parentheses
* test/lib/test/unit/assertions.rb (assert_not_all): fix missing parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2851b2c55f
commit
94f371efcc
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ EOT
|
|||
failed = []
|
||||
obj.each do |*a, &b|
|
||||
if blk.call(*a, &b)
|
||||
failed << a.size > 1 ? a : a[0]
|
||||
failed << (a.size > 1 ? a : a[0])
|
||||
end
|
||||
end
|
||||
assert(failed.empty?, message(m) {failed.pretty_inspect})
|
||||
|
|
Loading…
Reference in a new issue