mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-12 06:18:43 -04:00
golint: deprecation (#1965)
This commit is contained in:
parent
ce672624fe
commit
f95b1ed39f
5 changed files with 5 additions and 7 deletions
test
|
@ -91,7 +91,7 @@ func TestTimeoutInConfig(t *testing.T) {
|
|||
|
||||
func TestTestsAreLintedByDefault(t *testing.T) {
|
||||
testshared.NewLintRunner(t).Run(getTestDataDir("withtests")).
|
||||
ExpectHasIssue("`if` block ends with a `return`")
|
||||
ExpectHasIssue("don't use `init` function")
|
||||
}
|
||||
|
||||
func TestCgoOk(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue