aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/formula_installer_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/test/formula_installer_test.rb b/Library/Homebrew/test/formula_installer_test.rb
index 652548bd7..f86ae1488 100644
--- a/Library/Homebrew/test/formula_installer_test.rb
+++ b/Library/Homebrew/test/formula_installer_test.rb
@@ -61,6 +61,8 @@ class InstallTests < Homebrew::TestCase
assert_equal 3, bin.children.length
assert_predicate f.prefix/".brew/testball.rb", :readable?
end
+ ensure
+ ARGV.reject! { |a| a == "--with-invalid_flag" }
end
def test_bottle_unneeded_formula_install