aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAndrea Kao2016-08-12 15:21:27 -0700
committerAndrea Kao2016-08-12 15:21:27 -0700
commit91b67bd41d3a6fa04d5dd438b667d9bcb7e414e9 (patch)
tree963f5b3a2ababd7a13d347fb53c66245ce16c5c6 /Library/Homebrew
parent967a7a1862eb58c27e94cd59f91ff0627d6ccdad (diff)
downloadbrew-91b67bd41d3a6fa04d5dd438b667d9bcb7e414e9.tar.bz2
tests: add assertion to test_simple_valid_formula
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/test_cmd_audit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_cmd_audit.rb b/Library/Homebrew/test/test_cmd_audit.rb
index 2da6d76e6..f3899e2d3 100644
--- a/Library/Homebrew/test/test_cmd_audit.rb
+++ b/Library/Homebrew/test/test_cmd_audit.rb
@@ -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