@@ -22,7 +22,6 @@ import (
2222 "golang.org/x/mod/modfile"
2323 "golang.org/x/vuln/internal/testenv"
2424 "golang.org/x/vuln/scan"
25- "mvdan.cc/unparam/check"
2625)
2726
2827// excluded contains the set of modules that x/vuln should not depend on.
@@ -83,22 +82,6 @@ func TestGovulncheck(t *testing.T) {
8382 }
8483}
8584
86- func TestStaticCheck (t * testing.T ) {
87- skipIfShort (t )
88- rungo (
t ,
"run" ,
"honnef.co/go/tools/cmd/[email protected] " ,
"./..." )
89- }
90-
91- func TestUnparam (t * testing.T ) {
92- testenv .NeedsGoBuild (t )
93- warns , err := check .UnusedParams (false , false , false , "./..." )
94- if err != nil {
95- t .Fatalf ("check.UnusedParams: %v" , err )
96- }
97- for _ , warn := range warns {
98- t .Errorf (warn )
99- }
100- }
101-
10285func TestVet (t * testing.T ) {
10386 rungo (t , "vet" , "-all" , "./..." )
10487}
@@ -107,11 +90,6 @@ func TestGoModTidy(t *testing.T) {
10790 rungo (t , "mod" , "tidy" )
10891}
10992
110- func TestMisspell (t * testing.T ) {
111- skipIfShort (t )
112- rungo (
t ,
"run" ,
"github.com/client9/misspell/cmd/[email protected] " ,
"-error" ,
"." )
113- }
114-
11593func TestHeaders (t * testing.T ) {
11694 sfs := os .DirFS ("." )
11795 fs .WalkDir (sfs , "." , func (path string , d fs.DirEntry , _ error ) error {
0 commit comments