diff options
| author | Baptiste Fontaine | 2016-01-04 13:41:38 +0100 |
|---|---|---|
| committer | Baptiste Fontaine | 2016-01-04 15:12:32 +0100 |
| commit | 8f8c3cc1b195b29551c10fea40889dae92ac3b55 (patch) | |
| tree | ed6cc1788175f5a5659270bf64833588e0c970bf /Library | |
| parent | 78eecda7e9cb864b8bf082392c5c01014a4ed504 (diff) | |
| download | brew-8f8c3cc1b195b29551c10fea40889dae92ac3b55.tar.bz2 | |
integration tests: fix failing test
If the test fails above `formula_file`’s definition this line fails
because `formula_file` is `nil`.
Closes Homebrew/homebrew#47663.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index 2b1375de5..dab987b1f 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -119,7 +119,7 @@ class IntegrationCommandTests < Homebrew::TestCase ensure cmd("uninstall", "--force", "testball") cmd("cleanup", "--force", "--prune=all") - formula_file.unlink + formula_file.unlink unless formula_file.nil? end def test_uninstall |
