aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-03-06 14:27:56 -0800
committerAdam Vandenberg2010-04-06 08:27:10 -0700
commit46bbea89d0b305fc31c856834e5e20404dc30757 (patch)
tree411ce47a7aa1df21adc67e26c2517e1bef832116 /Library
parent3154b1f60b4ae02b6d0ce70938d720394c93c6e6 (diff)
downloadhomebrew-46bbea89d0b305fc31c856834e5e20404dc30757.tar.bz2
Remove silly concatenation.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_bucket.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_bucket.rb b/Library/Homebrew/test/test_bucket.rb
index 72151d875..7d249c278 100644
--- a/Library/Homebrew/test/test_bucket.rb
+++ b/Library/Homebrew/test/test_bucket.rb
@@ -90,7 +90,7 @@ class BeerTasting < Test::Unit::TestCase
assert_equal "FooBar", classname
assert_match Regexp.new("^#{HOMEBREW_PREFIX}/Library/Formula"), path.to_s
- path=HOMEBREW_PREFIX+'Library'+'Formula'+"#{FOOBAR}.rb"
+ path=HOMEBREW_PREFIX+"Library/Formula/#{FOOBAR}.rb"
path.dirname.mkpath
File.open(path, 'w') do |f|
f << %{
@@ -137,7 +137,7 @@ class BeerTasting < Test::Unit::TestCase
assert_raises(KegUnspecifiedError) { ARGV.kegs }
assert ARGV.named.empty?
- (HOMEBREW_CELLAR+'mxcl'+'10.0').mkpath
+ (HOMEBREW_CELLAR+'mxcl/10.0').mkpath
ARGV.reset
ARGV.unshift 'mxcl'