bump golang.org/x/tools to HEAD (#2875)

* bump golang.org/x/tools to HEAD
* fix: adapt linters to the new validation system.
This commit is contained in:
Ludovic Fernandez 2022-05-23 12:39:57 +02:00 committed by GitHub
parent 75be924e98
commit f9d815115c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 2260 additions and 1687 deletions

View file

@ -286,7 +286,7 @@ func TestNolintUnused(t *testing.T) {
Filename: fileName,
Line: 3,
},
FromLinter: golinters.NolintlintName,
FromLinter: golinters.NoLintLintName,
ExpectNoLint: true,
ExpectedNoLintLinter: "varcheck",
}
@ -297,7 +297,7 @@ func TestNolintUnused(t *testing.T) {
Filename: fileName,
Line: 5,
},
FromLinter: golinters.NolintlintName,
FromLinter: golinters.NoLintLintName,
ExpectNoLint: true,
ExpectedNoLintLinter: "varcheck",
}