aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2013-03-18 14:59:10 -0500
committerJack Nagel2013-03-18 15:10:36 -0500
commitc8168d8a4a73ae1cbf473064b532854a93e6c082 (patch)
tree604f03350ec84da048c5b49465d65e4581c1d496 /Library/Homebrew/test
parent456386c9b1cbe599bcc42c96099321ea13afc544 (diff)
downloadbrew-c8168d8a4a73ae1cbf473064b532854a93e6c082.tar.bz2
Simplify SoftwareSpec checksum methods
Reader methods for specific checksum types have been absent from the Formula class for some time, so there isn't any reason to expose them in SoftwareSpec, either. Thus, these methods now only act as setters, and #checksum should be used to access the constructed Checksum object.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index 554a189fb..bcd00a99b 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -111,10 +111,6 @@ class FormulaTests < Test::Unit::TestCase
assert_match /[0-9a-fA-F]{40}/, f.stable.checksum.hexdigest
assert_match /[0-9a-fA-F]{64}/, f.devel.checksum.hexdigest
- assert_nil f.stable.sha256
- assert_nil f.bottle.sha256
- assert_nil f.devel.sha1
-
assert_equal 1, f.stable.mirrors.length
assert f.bottle.mirrors.empty?
assert_equal 1, f.devel.mirrors.length