Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / gocommand / invoke_test.go
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.
4
5 package gocommand_test
6
7 import (
8         "context"
9         "testing"
10
11         "golang.org/x/tools/internal/gocommand"
12 )
13
14 func TestGoVersion(t *testing.T) {
15         inv := gocommand.Invocation{
16                 Verb: "version",
17         }
18         gocmdRunner := &gocommand.Runner{}
19         if _, err := gocmdRunner.Run(context.Background(), inv); err != nil {
20                 t.Error(err)
21         }
22 }