From 46bbea89d0b305fc31c856834e5e20404dc30757 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 6 Mar 2010 14:27:56 -0800 Subject: Remove silly concatenation. --- Library/Homebrew/test/test_bucket.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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' -- cgit v1.2.3