1 // Copyright 2020 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
10 "golang.org/x/tools/internal/testenv"
13 func TestGenerated(t *testing.T) {
14 testenv.NeedsGoBuild(t) // This is a lie. We actually need the source code.
16 ok, err := doMain("../..", false)
21 t.Error("documentation needs updating. run: `go run gopls/doc/generate.go` from the root of tools.")