diff options
| author | Jack Nagel | 2015-04-18 15:20:34 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-04-18 15:20:58 -0400 |
| commit | 29d24cabc6009c134e57a0b2e0b92e5d2e42bb72 (patch) | |
| tree | 9dba378a6c0601a3bc94e2fc33a0fd5cc22a765f /Library/Homebrew/test/test_formula.rb | |
| parent | 681c6f37cfbf6b51965a9aeab5b137e1a3166a8f (diff) | |
| download | homebrew-29d24cabc6009c134e57a0b2e0b92e5d2e42bb72.tar.bz2 | |
Remove bad test
Diffstat (limited to 'Library/Homebrew/test/test_formula.rb')
| -rw-r--r-- | Library/Homebrew/test/test_formula.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index da8734e2d..fbac07109 100644 --- a/Library/Homebrew/test/test_formula.rb +++ b/Library/Homebrew/test/test_formula.rb @@ -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" |
