1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:38:33 -06:00
go/internal/lsp/regtest
Rebecca Stambler e18c1c42de internal/lsp: add a reg test to test "go mod init"
This change adds a RunGoCommand function to the workspace, which will
allow us to test how gopls responds when a certain go command is
executed. Add a test that checks behavior after "go mod init" runs.

Change-Id: I679249c1654b136d44187397b4196b8a10b5615e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/226478
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-03-31 02:48:52 +00:00
..
definition_test.go internal/lsp/regtest: remove redundant T and ctx params from regtest funcs 2020-03-24 20:18:24 +00:00
diagnostics_test.go internal/lsp: add a reg test to test "go mod init" 2020-03-31 02:48:52 +00:00
env.go internal/lsp/regtest: remove redundant T and ctx params from regtest funcs 2020-03-24 20:18:24 +00:00
formatting_test.go internal/lsp/regtest: remove redundant T and ctx params from regtest funcs 2020-03-24 20:18:24 +00:00
reg_test.go internal/lsp/regtest: clean-up and more error handling 2020-02-25 19:00:36 +00:00
serialization_test.go internal/lsp/regtest: remove redundant T and ctx params from regtest funcs 2020-03-24 20:18:24 +00:00
shared_test.go internal/lsp/regtest: remove redundant T and ctx params from regtest funcs 2020-03-24 20:18:24 +00:00
wrappers.go internal/lsp: remove command-line-arguments as a workspace package 2020-03-25 20:31:30 +00:00