Skip to content
Snippets Groups Projects
Commit bb2c9b7b authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

audit 'def test'

Closes Homebrew/homebrew#31120
parent 10e5fea0
No related branches found
No related tags found
No related merge requests found
......@@ -493,6 +493,10 @@ class FormulaAuditor
problem "Use new-style option definitions"
end
if line =~ /def test/
problem "Use new-style test definitions (test do)"
end
if line =~ /MACOS_VERSION/
problem "Use MacOS.version instead of MACOS_VERSION"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment