aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-11 19:18:23 -0600
committerJack Nagel2013-12-11 19:18:23 -0600
commit5c1805434173002c5da18a91a1cd3158661a5424 (patch)
tree51a2ec12a6ee8679190af42c20d85d2781c18b18 /Library
parenta4355c9f67529b8f9568d1981826837a184a6584 (diff)
downloadbrew-5c1805434173002c5da18a91a1cd3158661a5424.tar.bz2
Simplify prefix test
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index 543e61d13..1625e26d9 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -6,7 +6,7 @@ class FormulaTests < Test::Unit::TestCase
def test_prefix
f = TestBall.new
- assert_equal File.expand_path(f.prefix), (HOMEBREW_CELLAR+f.name+'0.1').to_s
+ assert_equal HOMEBREW_CELLAR/f.name/'0.1', f.prefix
assert_kind_of Pathname, f.prefix
end