diff options
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_download_strategies.rb | 12 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_outdated.rb | 6 |
2 files changed, 3 insertions, 15 deletions
diff --git a/Library/Homebrew/test/test_download_strategies.rb b/Library/Homebrew/test/test_download_strategies.rb index e34940185..87218fb12 100644 --- a/Library/Homebrew/test/test_download_strategies.rb +++ b/Library/Homebrew/test/test_download_strategies.rb @@ -23,20 +23,12 @@ class AbstractDownloadStrategyTests < Homebrew::TestCase def test_expand_safe_system_args_with_explicit_quiet_flag @args << { quiet_flag: "--flag" } expanded_args = @strategy.expand_safe_system_args(@args) - if ARGV.verbose? - assert_equal %w[foo bar baz], expanded_args - else - assert_equal %w[foo bar baz --flag], expanded_args - end + assert_equal %w[foo bar baz --flag], expanded_args end def test_expand_safe_system_args_with_implicit_quiet_flag expanded_args = @strategy.expand_safe_system_args(@args) - if ARGV.verbose? - assert_equal %w[foo bar baz], expanded_args - else - assert_equal %w[foo bar -q baz], expanded_args - end + assert_equal %w[foo bar -q baz], expanded_args end def test_expand_safe_system_args_does_not_mutate_argument diff --git a/Library/Homebrew/test/test_outdated.rb b/Library/Homebrew/test/test_outdated.rb index 8ee3844df..cc0f024c8 100644 --- a/Library/Homebrew/test/test_outdated.rb +++ b/Library/Homebrew/test/test_outdated.rb @@ -5,10 +5,6 @@ class IntegrationCommandTestOutdated < IntegrationCommandTestCase setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath - if ARGV.verbose? - assert_equal "testball (0.0.1) < 0.1", cmd("outdated") - else - assert_equal "testball", cmd("outdated") - end + assert_equal "testball", cmd("outdated") end end |
