aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_software_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_software_spec.rb')
-rw-r--r--Library/Homebrew/test/test_software_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_software_spec.rb b/Library/Homebrew/test/test_software_spec.rb
index 547afa73c..42bcf73fc 100644
--- a/Library/Homebrew/test/test_software_spec.rb
+++ b/Library/Homebrew/test/test_software_spec.rb
@@ -110,8 +110,8 @@ class BottleTests < Test::Unit::TestCase
end
checksums.each_pair do |cat, sha1|
- assert_equal Checksum.new(:sha1, sha1),
- @spec.instance_variable_get(:@sha1)[cat]
+ hsh, _ = @spec.instance_variable_get(:@sha1).fetch_bottle_for(cat)
+ assert_equal Checksum.new(:sha1, sha1), hsh
end
end