diff options
| author | Jack Nagel | 2015-04-20 20:58:03 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-04-20 20:58:33 -0400 |
| commit | f9900a5dbf4b483a6d30bc2b7400798ad54f60c0 (patch) | |
| tree | 5c7ef43585fd280bd90622e1c725ef48ec502e19 /Library/Homebrew/test | |
| parent | 2fb9890e073872271fb9944e6b93b83d7101d7a3 (diff) | |
| download | brew-f9900a5dbf4b483a6d30bc2b7400798ad54f60c0.tar.bz2 | |
Remove assertion that is coupled to test prefix structure
Diffstat (limited to 'Library/Homebrew/test')
| -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 |
