diff options
| author | Alyssa Ross | 2017-01-19 13:19:59 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2017-01-19 13:21:39 +0000 |
| commit | 366ee0b267dbf54d6dfda7210036e388bd2fd1ff (patch) | |
| tree | a649d413731ac8a342500ac334960db1e748a126 /Library | |
| parent | 6fc1747e0550545b4fe80f5a1854d16dd2b08afe (diff) | |
| download | brew-366ee0b267dbf54d6dfda7210036e388bd2fd1ff.tar.bz2 | |
tests: revert modification to ARGV at end of test
Similar to 6fc1747e0550545b4fe80f5a1854d16dd2b08afe. I hadn't seen any
test failures caused by this, but I noticed it in the process of
trackign that down and it's an accident waiting to happen.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/formula_installer_test.rb | 2 |
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 |
