1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:04:45 -07:00

gopls/integration/regtest: move regtests to the gopls module

Regtests are slow, and make `go test ./internal/lsp/...` slow. Also,
having them in the tools module means they can't use staticcheck,
go-diff, etc.

Move them to the gopls module. This means that they're annoying to work
with unless you open the gopls module, but hopefully that annoyance will
be gone soon when we support multi-module workspaces.

For golang/go#39384

Change-Id: Ib99c994ffdac56d4da13af981ad397a90a7523af
Reviewed-on: https://go-review.googlesource.com/c/tools/+/252682
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
Rob Findley 2020-09-02 18:26:35 -04:00 committed by Robert Findley
parent 76a6aac657
commit e2cc5a1191
27 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ go 1.13
require (
github.com/sergi/go-diff v1.1.0
golang.org/x/tools v0.0.0-20200828161849-5deb26317202
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
honnef.co/go/tools v0.0.1-2020.1.5
mvdan.cc/gofumpt v0.0.0-20200802201014-ab5a8192947d
mvdan.cc/xurls/v2 v2.2.0