Remove bad test
This commit is contained in:
parent
70b38140b7
commit
47aae82d33
@ -242,16 +242,6 @@ class FormulaTests < Homebrew::TestCase
|
|||||||
assert_equal PkgVersion.parse('HEAD'), f.pkg_version
|
assert_equal PkgVersion.parse('HEAD'), f.pkg_version
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_raises_when_non_formula_constant_exists
|
|
||||||
const = :SomeConst
|
|
||||||
Object.const_set(const, Module.new)
|
|
||||||
begin
|
|
||||||
assert_raises(FormulaUnavailableError) { Formulary.factory("some_const") }
|
|
||||||
ensure
|
|
||||||
Object.send(:remove_const, const)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_legacy_options
|
def test_legacy_options
|
||||||
f = formula do
|
f = formula do
|
||||||
url "foo-1.0"
|
url "foo-1.0"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user