aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_formula_validation.rb
diff options
context:
space:
mode:
authorJack Nagel2013-04-27 14:50:34 -0500
committerJack Nagel2013-04-27 14:50:35 -0500
commit777473449bad0ecf8fc3e028fa3f1f18c7a0cff0 (patch)
tree2c820ce62e7c44b3e9c966bd4319b95b619e0949 /Library/Homebrew/test/test_formula_validation.rb
parent03a4ecfbcaf758f5c2c1b06fcbf332c44a6e1d68 (diff)
downloadhomebrew-777473449bad0ecf8fc3e028fa3f1f18c7a0cff0.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/test_formula_validation.rb')
-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