Closed
Description
when running tests against golangci-lint 2.0 get the following error
-- FAIL: TestLangHandler_lint_Integration (0.23s)
--- FAIL: TestLangHandler_lint_Integration/no_config_file (0.05s)
handler_test.go:181: lint() mismatch (-want +got):
[]main.Diagnostic{
- {
- Range: main.Range{
- Start: main.Position{Line: 3, Character: 4},
- End: main.Position{Line: 3, Character: 4},
- },
- Severity: 2,
- Source: &"unused",
- Message: "unused: var `foo` is unused",
- },
+ {
+ Severity: 1,
+ Message: "Error: unknown flag: --out-format\nFailed executing command with error: unknown flag: --out-format\n",
+ },
}
Metadata
Metadata
Assignees
Labels
No labels