diff options
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 |
