From d52dedc621a782b20cbbf420a6e0358e80322300 Mon Sep 17 00:00:00 2001 From: Zvonimir Pavlinovic Date: Thu, 27 Jun 2024 15:09:05 +0000 Subject: [PATCH] all: remove unnecessary test lines for staticcheck Change-Id: I42cb6ac7a4bb9b50ad2e6bff2e89b93f1e382d4b Reviewed-on: https://go-review.googlesource.com/c/vuln/+/595258 LUCI-TryBot-Result: Go LUCI Reviewed-by: Maceo Thompson Auto-Submit: Zvonimir Pavlinovic --- all_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/all_test.go b/all_test.go index d33d1b19..21c8f257 100644 --- a/all_test.go +++ b/all_test.go @@ -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)