aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/hooks/licenses_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/hooks/licenses_test.go')
-rw-r--r--gopls/internal/hooks/licenses_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/gopls/internal/hooks/licenses_test.go b/gopls/internal/hooks/licenses_test.go
index bed229535..a7853cd5f 100644
--- a/gopls/internal/hooks/licenses_test.go
+++ b/gopls/internal/hooks/licenses_test.go
@@ -15,9 +15,10 @@ import (
)
func TestLicenses(t *testing.T) {
- // License text differs for older Go versions because staticcheck isn't
- // supported for those versions.
- testenv.NeedsGo1Point(t, 15)
+ // License text differs for older Go versions because staticcheck or gofumpt
+ // isn't supported for those versions, and this fails for unknown, unrelated
+ // reasons on Kokoro legacy CI.
+ testenv.NeedsGo1Point(t, 19)
if runtime.GOOS != "linux" && runtime.GOOS != "darwin" {
t.Skip("generating licenses only works on Unixes")