diff options
| author | Jack Nagel | 2013-04-27 14:44:48 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-04-27 14:44:48 -0500 | 
| commit | 03a4ecfbcaf758f5c2c1b06fcbf332c44a6e1d68 (patch) | |
| tree | 3b2542a8c99f85a81c15a4a2aca6af9229124f7a /Library/Homebrew/test/test_formula_validation.rb | |
| parent | 17471361b4592ddc21ac920e234e9d6443ce3838 (diff) | |
| download | homebrew-03a4ecfbcaf758f5c2c1b06fcbf332c44a6e1d68.tar.bz2 | |
Allow `brew versions` to work with underspecified formulae
Diffstat (limited to 'Library/Homebrew/test/test_formula_validation.rb')
| -rw-r--r-- | Library/Homebrew/test/test_formula_validation.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Homebrew/test/test_formula_validation.rb b/Library/Homebrew/test/test_formula_validation.rb index 9afdc278c..c87f842a1 100644 --- a/Library/Homebrew/test/test_formula_validation.rb +++ b/Library/Homebrew/test/test_formula_validation.rb @@ -78,7 +78,7 @@ class FormulaValidationTests < Test::Unit::TestCase    end    def test_empty_formula_invalid -    e = assert_raises(RuntimeError) { formula {} } -    assert_equal "Formulae require at least a URL", e.message +    e = assert_raises(FormulaSpecificationError) { formula {} } +    assert_equal "formulae require at least a URL", e.message    end  end | 
