Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / cmd / cmd_test.go
1 // Copyright 2019 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 cmd_test
6
7 import (
8         "os"
9         "testing"
10
11         cmdtest "golang.org/x/tools/internal/lsp/cmd/test"
12         "golang.org/x/tools/internal/lsp/tests"
13         "golang.org/x/tools/internal/testenv"
14 )
15
16 func TestMain(m *testing.M) {
17         testenv.ExitIfSmallMachine()
18         os.Exit(m.Run())
19 }
20
21 func TestCommandLine(t *testing.T) {
22         cmdtest.TestCommandLine(t, "../testdata", tests.DefaultOptions)
23 }