aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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