diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 5434d87c2e7728a9aee0502e2296d46bb7c759a6..5ffe4337461c2833486220dd9fe1b14cde8b8d5b 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 eef60a3e5f713274af351f8cf59c63f48fa51f97..a6db1b57f26668e586a8bdf96d1bb2c69819ed38 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