diff options
Diffstat (limited to 'gopls/doc/generate_test.go')
-rw-r--r-- | gopls/doc/generate_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gopls/doc/generate_test.go b/gopls/doc/generate_test.go index 137a646cd..5dc97d2dd 100644 --- a/gopls/doc/generate_test.go +++ b/gopls/doc/generate_test.go @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build go1.16 -// +build go1.16 - package main import ( @@ -14,9 +11,12 @@ import ( ) func TestGenerated(t *testing.T) { + // This test fails on 1.18 Kokoro for unknown reasons; in any case, it + // suffices to run this test on any builder. + testenv.NeedsGo1Point(t, 19) testenv.NeedsGoBuild(t) // This is a lie. We actually need the source code. - ok, err := doMain("../..", false) + ok, err := doMain(false) if err != nil { t.Fatal(err) } |