aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-07 17:04:23 -0600
committerJack Nagel2014-11-07 17:04:23 -0600
commitb34fa6cfd870e23c3876394509ed0a5be6c70b1e (patch)
treeb03d7f4380b8ffbc82b0cb76d0f3ec1fc4c9504d /Library
parentd63ba368ef6465ba6cb9e7ca3762d31e1b60fc17 (diff)
downloadbrew-b34fa6cfd870e23c3876394509ed0a5be6c70b1e.tar.bz2
Use libexec method in install test
Diffstat (limited to 'Library')
-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?