aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_formula.rb
diff options
context:
space:
mode:
authorXu Cheng2016-02-26 19:43:49 +0800
committerXu Cheng2016-04-02 21:51:36 +0800
commitdeea4c82a4e64e746465cd74ea80e9afbedd9a91 (patch)
tree7bc10cf25fcec31e79af9e7ec3ee35a794cbc092 /Library/Homebrew/test/test_formula.rb
parent2bb30fc5f0ab4146190e65d017ea0ad4eac40dbf (diff)
downloadbrew-deea4c82a4e64e746465cd74ea80e9afbedd9a91.tar.bz2
fix brew tests
Fix the `brew tests` problem caused by core/formula separation.
Diffstat (limited to 'Library/Homebrew/test/test_formula.rb')
-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 07571e78f..7f015f653 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -202,7 +202,7 @@ class FormulaTests < Homebrew::TestCase
def test_path
name = "foo-bar"
- assert_equal Pathname.new("#{HOMEBREW_LIBRARY}/Formula/#{name}.rb"), Formulary.core_path(name)
+ assert_equal Pathname.new("#{HOMEBREW_LIBRARY}/Taps/homebrew/homebrew-core/Formula/#{name}.rb"), Formulary.core_path(name)
end
def test_class_specs_are_always_initialized