Skip to content

Commit

Permalink
all: remove unnecessary test lines for staticcheck
Browse files Browse the repository at this point in the history
Change-Id: I42cb6ac7a4bb9b50ad2e6bff2e89b93f1e382d4b
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/595258
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Maceo Thompson <[email protected]>
Auto-Submit: Zvonimir Pavlinovic <[email protected]>
  • Loading branch information
zpavlinovic committed Jul 9, 2024
1 parent afa91f1 commit d52dedc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ func TestDependencies(t *testing.T) {
t.Fatalf("modfile.Parse: %v", err)
}
for _, r := range f.Require {
// This is used by staticcheck.
if strings.HasPrefix(r.Mod.Path, "golang.org/x/exp/typeparams") {
continue
}
for ex := range excluded {
if strings.HasPrefix(r.Mod.Path, ex) {
t.Errorf("go.mod contains %q as a dependency, which should not happen", r.Mod.Path)
Expand Down

0 comments on commit d52dedc

Please sign in to comment.