diff options
| author | Zhiming Wang | 2016-11-17 15:17:09 -0500 |
|---|---|---|
| committer | Zhiming Wang | 2016-11-17 15:54:51 -0500 |
| commit | 00532a3e3a3c8e3c12e5ffe9ddee2b374759fa94 (patch) | |
| tree | 650061871b59919f34f0f81112d5fd45741eded6 /Library/Homebrew | |
| parent | 649c7ab48ae013f07a29a706b63d4d778e456b24 (diff) | |
| download | brew-00532a3e3a3c8e3c12e5ffe9ddee2b374759fa94.tar.bz2 | |
formula: update test_fixtures path
Fix regression caused by #1364.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/formula_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 5434d87c2..5ffe43374 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1623,7 +1623,7 @@ class Formula # @private def test_fixtures(file) - HOMEBREW_LIBRARY_PATH.join("test", "fixtures", file) + HOMEBREW_LIBRARY_PATH.join("test", "support", "fixtures", file) end # This method is overridden in {Formula} subclasses to provide the installation instructions. diff --git a/Library/Homebrew/test/formula_test.rb b/Library/Homebrew/test/formula_test.rb index eef60a3e5..a6db1b57f 100644 --- a/Library/Homebrew/test/formula_test.rb +++ b/Library/Homebrew/test/formula_test.rb @@ -634,7 +634,7 @@ class FormulaTests < Homebrew::TestCase url "foo-1.0" end - assert_equal Pathname.new("#{HOMEBREW_LIBRARY_PATH}/test/fixtures/foo"), + assert_equal Pathname.new("#{HOMEBREW_LIBRARY_PATH}/test/support/fixtures/foo"), f1.test_fixtures("foo") end |
