diff options
| author | Jack Nagel | 2013-04-27 14:50:34 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-27 14:50:35 -0500 |
| commit | bffe090b2100f8ef56be7f2e82a203083aff8c53 (patch) | |
| tree | c4baf53586e2d9fcd2c40097d86c41ea2d0e6ea9 /Library/Homebrew/test | |
| parent | 9b5cb6cfb648c528cfe9587363ee930dbfd23025 (diff) | |
| download | brew-bffe090b2100f8ef56be7f2e82a203083aff8c53.tar.bz2 | |
Don't test error message
Now that we are testing for a custom exception type, we don't need to
make any assertion about the message.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_formula_validation.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_formula_validation.rb b/Library/Homebrew/test/test_formula_validation.rb index c87f842a1..e2c5ec140 100644 --- a/Library/Homebrew/test/test_formula_validation.rb +++ b/Library/Homebrew/test/test_formula_validation.rb @@ -78,7 +78,6 @@ class FormulaValidationTests < Test::Unit::TestCase end def test_empty_formula_invalid - e = assert_raises(FormulaSpecificationError) { formula {} } - assert_equal "formulae require at least a URL", e.message + assert_raises(FormulaSpecificationError) { formula {} } end end |
