diff options
| author | Jack Nagel | 2015-04-20 20:58:03 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-04-20 20:58:33 -0400 |
| commit | 4b37f17d1e04168e56ffba9b32053d4018df98be (patch) | |
| tree | c9c1aff9ffba403e719f951358c91255dc009b36 /Library/Homebrew | |
| parent | b2e3b7e19e2c5fe9461364fb53dfc60f821921a7 (diff) | |
| download | homebrew-4b37f17d1e04168e56ffba9b32053d4018df98be.tar.bz2 | |
Remove assertion that is coupled to test prefix structure
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/test/test_formula_install.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb index 0d7b4609e..1e6200db3 100644 --- a/Library/Homebrew/test/test_formula_install.rb +++ b/Library/Homebrew/test/test_formula_install.rb @@ -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 |
