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
commit0bf3ec593de9d20b873c947f420e8b19b84d50ad (patch)
tree58c3cfcd7bc565f273268959fbc296ffb9252ac8 /Library
parentaf3d551de7de0615281620e33e157a1e6d4514c2 (diff)
downloadbrew-0bf3ec593de9d20b873c947f420e8b19b84d50ad.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