Skip to content
Snippets Groups Projects
Commit 47aae82d authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove bad test

parent 70b38140
No related branches found
No related tags found
No related merge requests found
......@@ -242,16 +242,6 @@ class FormulaTests < Homebrew::TestCase
assert_equal PkgVersion.parse('HEAD'), f.pkg_version
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
f = formula do
url "foo-1.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment