From e8d50401412b85e8d74ad206c73859940284a2fb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 18 Nov 2016 14:08:40 +0000 Subject: [PATCH] testbottest: don't use TEST_FIXTURE_DIR. This isn't defined for formulae. --- Library/Homebrew/test/support/fixtures/testbottest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/support/fixtures/testbottest.rb b/Library/Homebrew/test/support/fixtures/testbottest.rb index 28b88567e8..f7695cab5b 100644 --- a/Library/Homebrew/test/support/fixtures/testbottest.rb +++ b/Library/Homebrew/test/support/fixtures/testbottest.rb @@ -1,7 +1,7 @@ class Testbottest < Formula desc "Minimal C program and Makefile used for testing Homebrew." homepage "https://github.com/Homebrew/brew" - url "file://#{TEST_FIXTURE_DIR}/tarballs/testbottest-0.1.tbz" + url "file://#{File.expand_path("..", __FILE__)}/tarballs/testbottest-0.1.tbz" sha256 "78b54d8f31585c9773bed12b4aa4ab2ce458ebd044b9406cb24d40aa5107f082" def install