1
0
Fork 0
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:
nobu 2018-03-12 15:19:37 +00:00
parent 2851b2c55f
commit 94f371efcc

View file

@ -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})