@@ -22,7 +22,6 @@ import (
22
22
"golang.org/x/mod/modfile"
23
23
"golang.org/x/vuln/internal/testenv"
24
24
"golang.org/x/vuln/scan"
25
- "mvdan.cc/unparam/check"
26
25
)
27
26
28
27
// excluded contains the set of modules that x/vuln should not depend on.
@@ -83,22 +82,6 @@ func TestGovulncheck(t *testing.T) {
83
82
}
84
83
}
85
84
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
-
102
85
func TestVet (t * testing.T ) {
103
86
rungo (t , "vet" , "-all" , "./..." )
104
87
}
@@ -107,11 +90,6 @@ func TestGoModTidy(t *testing.T) {
107
90
rungo (t , "mod" , "tidy" )
108
91
}
109
92
110
- func TestMisspell (t * testing.T ) {
111
- skipIfShort (t )
112
- rungo (
t ,
"run" ,
"github.com/client9/misspell/cmd/[email protected] " ,
"-error" ,
"." )
113
- }
114
-
115
93
func TestHeaders (t * testing.T ) {
116
94
sfs := os .DirFS ("." )
117
95
fs .WalkDir (sfs , "." , func (path string , d fs.DirEntry , _ error ) error {
0 commit comments