Remove assertion that is coupled to test prefix structure

This commit is contained in:
Jack Nagel 2015-04-20 20:58:03 -04:00
parent 2fb9890e07
commit f9900a5dbf

View File

@ -45,9 +45,10 @@ class InstallTests < Homebrew::TestCase
# Test that things make it into the Cellar
keg = Keg.new f.prefix
keg.link
assert_equal 3, HOMEBREW_PREFIX.children.length
assert_predicate HOMEBREW_PREFIX+'bin', :directory?
assert_equal 3, (HOMEBREW_PREFIX+'bin').children.length
bin = HOMEBREW_PREFIX+"bin"
assert_predicate bin, :directory?
assert_equal 3, bin.children.length
end
end