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.
11 "golang.org/x/tools/internal/gocommand"
14 func TestGoVersion(t *testing.T) {
15 inv := gocommand.Invocation{
18 gocmdRunner := &gocommand.Runner{}
19 if _, err := gocmdRunner.Run(context.Background(), inv); err != nil {