aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-10-15 12:32:20 +0100
committerMike McQuaid2016-10-15 12:32:34 +0100
commit7ab39e184b2e6e9badc1a5e78a5e196826f2703e (patch)
tree248e7379569adba4f707e7749ee4591cade71f96 /Library
parentf435adc2d00f4e5f91390de423f113168efe72ac (diff)
downloadbrew-7ab39e184b2e6e9badc1a5e78a5e196826f2703e.tar.bz2
Improve integration command test case output.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/helper/integration_command_test_case.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/helper/integration_command_test_case.rb b/Library/Homebrew/test/helper/integration_command_test_case.rb
index e894583bb..20c0fc48e 100644
--- a/Library/Homebrew/test/helper/integration_command_test_case.rb
+++ b/Library/Homebrew/test/helper/integration_command_test_case.rb
@@ -102,7 +102,7 @@ class IntegrationCommandTestCase < Homebrew::TestCase
def cmd(*args)
output = cmd_output(*args)
status = $?.exitstatus
- puts "\n#{output}" if status.nonzero?
+ puts "\n'brew #{args.join " "}' output: #{output}" if status.nonzero?
assert_equal 0, status
output
end
@@ -110,7 +110,7 @@ class IntegrationCommandTestCase < Homebrew::TestCase
def cmd_fail(*args)
output = cmd_output(*args)
status = $?.exitstatus
- $stderr.puts "\n#{output}" if status.zero?
+ $stderr.puts "\n'brew #{args.join " "}'" if status.zero?
refute_equal 0, status
output
end