diff options
| author | Markus Reiter | 2017-10-01 22:26:04 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-10-01 22:26:04 +0200 |
| commit | 3bb89f5440c030e06819affe3b821a771e86a671 (patch) | |
| tree | 7e4e54c5efd2997a81b9afed14119e5bed5cd7b4 /Library | |
| parent | 965ca015965bfb376cb20e40c2c534f9572edb37 (diff) | |
| download | brew-3bb89f5440c030e06819affe3b821a771e86a671.tar.bz2 | |
Only run trash test when collecting coverage.
Diffstat (limited to 'Library')
| -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") } |
