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
commit1d4699163760757826eba2d2ee971b20df20247b (patch)
tree850796313fe07b7e6f66cfb89089104988f530bc /Library
parent06745aa6d198ec3374d620afc3a9457edea8c5d3 (diff)
downloadbrew-1d4699163760757826eba2d2ee971b20df20247b.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'