aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_outdated.rb
diff options
context:
space:
mode:
authorBruce Steedman2016-09-30 18:41:54 +0100
committerBruce Steedman2016-09-30 18:41:54 +0100
commit540347a42c965362eb5f05b5cb178e181932380a (patch)
tree57b2d859b00347d85631f445699f42eff3068f9b /Library/Homebrew/test/test_outdated.rb
parent41b2df8e338c3fe345afc89b1bb394e824213561 (diff)
downloadbrew-540347a42c965362eb5f05b5cb178e181932380a.tar.bz2
fix tests failing when verbose set
Diffstat (limited to 'Library/Homebrew/test/test_outdated.rb')
-rw-r--r--Library/Homebrew/test/test_outdated.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_outdated.rb b/Library/Homebrew/test/test_outdated.rb
index cc0f024c8..8ee3844df 100644
--- a/Library/Homebrew/test/test_outdated.rb
+++ b/Library/Homebrew/test/test_outdated.rb
@@ -5,6 +5,10 @@ class IntegrationCommandTestOutdated < IntegrationCommandTestCase
setup_test_formula "testball"
(HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath
- assert_equal "testball", cmd("outdated")
+ if ARGV.verbose?
+ assert_equal "testball (0.0.1) < 0.1", cmd("outdated")
+ else
+ assert_equal "testball", cmd("outdated")
+ end
end
end