1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:44:44 -07:00
go/internal/lsp/tests
Rebecca Stambler de666e9706 internal/lsp: add a test to make sure we handle bad imports
There was a regression where gopls would not type-check any package with
a bad import. This change fixes the regression and adds a test to make
sure it doesn't happen again.

Change-Id: I3acf0917d46e9444c20135559f057f0ecd20e15b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/201539
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-10-17 20:52:05 +00:00
..
completion.go internal/lsp: remove duplicated enums 2019-09-25 15:30:23 +00:00
diagnostics.go internal/lsp: add a test to make sure we handle bad imports 2019-10-17 20:52:05 +00:00
tests.go internal/lsp: add a test to make sure we handle bad imports 2019-10-17 20:52:05 +00:00