linters: add autofix for httpstatus
All checks were successful
CI / test (push) Successful in 32s

This commit is contained in:
2026-10-18 16:10:55 -07:00
parent 01e6e04d14
commit b1ad941f4d
4 changed files with 68 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func TestAnalyzer(t *testing.T) {
analysistest.Run(t, analysistest.TestData(), httpstatus.Analyzer, "default")
analysistest.RunWithSuggestedFixes(t, analysistest.TestData(), httpstatus.Analyzer, "default")
}
func TestAnalyzerWithSettings(t *testing.T) {
@@ -18,5 +18,5 @@ func TestAnalyzerWithSettings(t *testing.T) {
IsRestricted: true,
})
analysistest.Run(t, analysistest.TestData(), analyzer, "configured")
analysistest.RunWithSuggestedFixes(t, analysistest.TestData(), analyzer, "configured")
}