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
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/cmd/cmd_test.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/cmd/cmd_test.go
new file mode 100644 (file)
index 0000000..29816c8
--- /dev/null
@@ -0,0 +1,23 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package cmd_test
+
+import (
+       "os"
+       "testing"
+
+       cmdtest "golang.org/x/tools/internal/lsp/cmd/test"
+       "golang.org/x/tools/internal/lsp/tests"
+       "golang.org/x/tools/internal/testenv"
+)
+
+func TestMain(m *testing.M) {
+       testenv.ExitIfSmallMachine()
+       os.Exit(m.Run())
+}
+
+func TestCommandLine(t *testing.T) {
+       cmdtest.TestCommandLine(t, "../testdata", tests.DefaultOptions)
+}