aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-06-23 21:30:37 -0500
committerJack Nagel2014-06-23 22:11:39 -0500
commit85e2d24cb9280d76ed6080a0bd27351a81b35685 (patch)
tree957d3ddf6d4be4f87cfd97813efd905c8e0fab90 /Library/Homebrew/test
parent411cf65f73d6f709ed90fca6743c3f6450c708d2 (diff)
downloadhomebrew-85e2d24cb9280d76ed6080a0bd27351a81b35685.tar.bz2
Clear cache after checksum verification tests
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_checksum_verification.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_checksum_verification.rb b/Library/Homebrew/test/test_checksum_verification.rb
index bb2a20fd2..a8312aeb1 100644
--- a/Library/Homebrew/test/test_checksum_verification.rb
+++ b/Library/Homebrew/test/test_checksum_verification.rb
@@ -15,6 +15,10 @@ class ChecksumTests < Homebrew::TestCase
@_f.stable.instance_eval(&block)
end
+ def teardown
+ @_f.clear_cache
+ end
+
def test_good_sha1
formula do
sha1 '482e737739d946b7c8cbaf127d9ee9c148b999f5'