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 5package cmd_test 6 7import ( 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 16func TestMain(m *testing.M) { 17 testenv.ExitIfSmallMachine() 18 os.Exit(m.Run()) 19} 20 21func TestCommandLine(t *testing.T) { 22 cmdtest.TestCommandLine(t, "../testdata", tests.DefaultOptions) 23} 24