tests: missing requires added
Closes Homebrew/homebrew#47866. Closes Homebrew/homebrew#47861. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
daf659cbae
commit
f0d1444980
@ -1,4 +1,6 @@
|
||||
require "testing_env"
|
||||
require "formula"
|
||||
require "caveats"
|
||||
|
||||
class CaveatsTests < Homebrew::TestCase
|
||||
def setup
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
require "testing_env"
|
||||
require "formula"
|
||||
|
||||
class ChecksumVerificationTests < Homebrew::TestCase
|
||||
def assert_checksum_good
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
require "testing_env"
|
||||
require "formula_support"
|
||||
|
||||
class KegOnlyReasonTests < Homebrew::TestCase
|
||||
def test_to_s_explanation
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
require "testing_env"
|
||||
require "formula"
|
||||
require "formula_installer"
|
||||
require "bottles"
|
||||
|
||||
class FormularyTest < Homebrew::TestCase
|
||||
def test_class_naming
|
||||
|
||||
@ -3,6 +3,7 @@ $:.unshift File.expand_path("../lib", __FILE__)
|
||||
|
||||
require "simplecov" if ENV["HOMEBREW_TESTS_COVERAGE"]
|
||||
require "global"
|
||||
require "formulary"
|
||||
|
||||
# Test environment setup
|
||||
%w[ENV Formula].each { |d| HOMEBREW_LIBRARY.join(d).mkpath }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user