diff options
| author | Markus Reiter | 2017-10-02 14:02:24 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-02 14:02:24 +0200 |
| commit | 23da0aa7fb91c68807e1278b2f858beefe5ea35a (patch) | |
| tree | d2d7c82656a7cde586ad7dc7dc5d821e5f093a29 /Library/Homebrew/test | |
| parent | e7cf509cfb5891ad32eebf8d2ec58bd936af6694 (diff) | |
| parent | 3bb89f5440c030e06819affe3b821a771e86a671 (diff) | |
| download | brew-23da0aa7fb91c68807e1278b2f858beefe5ea35a.tar.bz2 | |
Merge pull request #3247 from reitermarkus/fix-trash
Fix `brew tests` leaving last file in trash.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb b/Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb index 06eec4a01..4fdab60d0 100644 --- a/Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb +++ b/Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb @@ -149,6 +149,8 @@ shared_examples "#uninstall_phase or #zap_phase" do end [:delete, :trash].each do |directive| + next if directive == :trash && ENV["HOMEBREW_TESTS_COVERAGE"].nil? + context "using :#{directive}" do let(:dir) { TEST_TMPDIR } let(:absolute_path) { Pathname.new("#{dir}/absolute_path") } |
