parent
10e5fea01d
commit
bb2c9b7ba4
@ -493,6 +493,10 @@ class FormulaAuditor
|
|||||||
problem "Use new-style option definitions"
|
problem "Use new-style option definitions"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if line =~ /def test/
|
||||||
|
problem "Use new-style test definitions (test do)"
|
||||||
|
end
|
||||||
|
|
||||||
if line =~ /MACOS_VERSION/
|
if line =~ /MACOS_VERSION/
|
||||||
problem "Use MacOS.version instead of MACOS_VERSION"
|
problem "Use MacOS.version instead of MACOS_VERSION"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user