AT008¶
Acceptance testsStandard
check for acceptance test function declaration *testing.T parameter naming
The AT008 analyzer reports where the *testing.T parameter of an acceptance test declaration is not named t, which is a standard convention.
Examples¶
Ignoring reports¶
Singular reports can be ignored by adding a //lintignore:AT008 Go code comment at the end of the offending line or on the line immediately preceding, e.g.
This page is generated from passes/AT008/README.md, which lives beside the analyzer.