tests: add assertion to test_simple_valid_formula

This commit is contained in:
Andrea Kao 2016-08-12 15:21:27 -07:00
parent 967a7a1862
commit 91b67bd41d

View File

@ -36,6 +36,7 @@ class FormulaTextTests < Homebrew::TestCase
assert ft =~ /\burl\b/, "The formula should match 'url'"
assert_nil ft.line_number(/desc/), "The formula should not match 'desc'"
assert_equal 2, ft.line_number(/\burl\b/)
assert ft.include?("Valid"), "The formula should include \"Valid\""
end
def test_trailing_newline