aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-11-07 17:04:23 -0600
committerJack Nagel2014-11-07 17:04:23 -0600
commitaa55917e7c17bdb52ced17887fdc012c1f523331 (patch)
tree70812aee89dc77bc7cd0b4d381741cd0d18674e3 /Library/Homebrew/test
parente3a88a043f357a9448783ba0bcbf7dc74afd1a95 (diff)
downloadhomebrew-aa55917e7c17bdb52ced17887fdc012c1f523331.tar.bz2
Use libexec method in install test
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula_install.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb
index 10520a7bd..00fc1da6b 100644
--- a/Library/Homebrew/test/test_formula_install.rb
+++ b/Library/Homebrew/test/test_formula_install.rb
@@ -35,9 +35,8 @@ class InstallTests < Homebrew::TestCase
assert_predicate f.bin, :directory?
assert_equal 3, f.bin.children.length
- libexec = f.prefix+'libexec'
- assert_predicate libexec, :directory?
- assert_equal 1, libexec.children.length
+ assert_predicate f.libexec, :directory?
+ assert_equal 1, f.libexec.children.length
refute_predicate f.prefix+'main.c', :exist?
assert_predicate f, :installed?