summaryrefslogtreecommitdiff
path: root/test/rubygems/helper.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 12:17:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commit26d660434325db8779b95edc6012866fe9f2403b (patch)
tree5386bdcea74010ba342b4970318abb640fc02565 /test/rubygems/helper.rb
parent41f304d5bf84ba3e5d8c4a2e8da9a019bf8ca230 (diff)
downloadruby-26d660434325db8779b95edc6012866fe9f2403b.tar.gz
[rubygems/rubygems] util/rubocop -A --only Layout/MultilineMethodCallBraceLayout
https://github.com/rubygems/rubygems/commit/acb0548bf6
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r--test/rubygems/helper.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index cf30378f06..36175ff415 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -259,15 +259,13 @@ class Gem::TestCase < Test::Unit::TestCase
"Expected output containing make command \"%s\", but was \n\nBEGIN_OF_OUTPUT\n%sEND_OF_OUTPUT" % [
("%s %s" % [make_command, target]).rstrip,
output,
- ]
- )
+ ])
else
msg = build_message(msg,
'Expected make command "%s", but was "%s"' % [
("%s %s" % [make_command, target]).rstrip,
output,
- ]
- )
+ ])
end
assert scan_make_command_lines(output).any? {|line|