aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-04-27 14:50:34 -0500
committerJack Nagel2013-04-27 14:50:35 -0500
commitbffe090b2100f8ef56be7f2e82a203083aff8c53 (patch)
treec4baf53586e2d9fcd2c40097d86c41ea2d0e6ea9 /Library
parent9b5cb6cfb648c528cfe9587363ee930dbfd23025 (diff)
downloadbrew-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')
-rw-r--r--Library/Homebrew/test/test_formula_validation.rb3
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