aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-21 15:13:13 -0500
committerJack Nagel2014-08-21 15:13:13 -0500
commit2586f641bf1f50be350959e83e1e1f33292414fb (patch)
tree983b4d7e70ace50d4ab39a0183e38fab8636f639 /Library
parent35a1b7850d652bd82610854c5ee84e107beab110 (diff)
downloadhomebrew-2586f641bf1f50be350959e83e1e1f33292414fb.tar.bz2
Fix false positive audit warning
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 3660ad259..032075eef 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -483,7 +483,7 @@ class FormulaAuditor
problem "Use new-style option definitions"
end
- if line =~ /def test/
+ if line =~ /def test$/
problem "Use new-style test definitions (test do)"
end