1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:18:35 -06:00
go/internal/lsp/fake
Rob Findley af4cc2cd81 gopls/internal/regtest: use gopls hooks and add a test for staticcheck
To match the actual gopls binary, use hooks.Options when creating the
regtest server.

Add a test for staticcheck diagnostics to leverage this.

For golang/go#39384

Change-Id: I52837c2b12bb586a2530343bdfae5172b08df49c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/252683
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-09-03 18:57:44 +00:00
..
client.go internal/lsp: watch directories in replace targets and update on changes 2020-08-07 23:35:17 +00:00
doc.go internal/lsp/fake: split up and rename the Workspace type 2020-05-06 18:17:57 +00:00
edit_test.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +00:00
edit.go internal/lsp/regtest: add benchmarks for IWL and completion 2020-08-27 17:51:12 +00:00
editor_test.go internal/lsp/fake: move to a struct for configuring the sandbox 2020-07-23 23:36:26 +00:00
editor.go gopls/internal/regtest: use gopls hooks and add a test for staticcheck 2020-09-03 18:57:44 +00:00
proxy.go internal/lsp/regtest: add run options to support stress testing 2020-07-23 23:37:37 +00:00
sandbox.go internal/lsp: add a test that reproduces golang/go#37069 2020-09-01 15:23:12 +00:00
workdir_test.go internal/lsp/regtest: add run options to support stress testing 2020-07-23 23:37:37 +00:00
workdir.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00