diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-12 15:19:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-12 15:19:37 +0000 |
commit | 94f371efcce8caf6ee5d041d136a90e763e09336 (patch) | |
tree | 9347925bebe389026431223da762e8eea1738c56 | |
parent | 2851b2c55f54b651f250525528c57868e419baa1 (diff) |
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
-rw-r--r-- | test/lib/test/unit/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index eed5aca6a4..10fac04701 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -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}) |