diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_bucket.rb | 4 |
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' |
