From 94f371efcce8caf6ee5d041d136a90e763e09336 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 12 Mar 2018 15:19:37 +0000 Subject: [PATCH] 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 --- test/lib/test/unit/assertions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})