diff options
| author | Mike McQuaid | 2016-10-15 12:32:20 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-10-15 12:32:34 +0100 |
| commit | 7ab39e184b2e6e9badc1a5e78a5e196826f2703e (patch) | |
| tree | 248e7379569adba4f707e7749ee4591cade71f96 /Library | |
| parent | f435adc2d00f4e5f91390de423f113168efe72ac (diff) | |
| download | brew-7ab39e184b2e6e9badc1a5e78a5e196826f2703e.tar.bz2 | |
Improve integration command test case output.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/helper/integration_command_test_case.rb | 4 |
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 |
