1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00
go/internal/lsp/regtest
Rob Findley 9a0fabac01 internal/lsp: fix errors found by staticcheck
While experimenting with different static analysis on x/tools, I noticed
that there are many actionable diagnostics found by staticcheck. Fix the
ones that were not false positives.

Change-Id: I0b68cf1f636b57b557db879fad84fff9b7237a89
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222248
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-03-19 19:20:54 +00:00
..
definition_test.go internal/lsp/regtest: remove calls to t.Parallel() 2020-02-27 18:46:34 +00:00
diagnostics_test.go internal/lsp/regtest: add a test for diagnostics on first file 2020-03-02 22:55:59 +00:00
env.go internal/lsp/lsprpc: expose configuration for auto-started daemon 2020-03-12 19:43:16 +00:00
formatting_test.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +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: fix errors found by staticcheck 2020-03-19 19:20:54 +00:00
shared_test.go internal/lsp/regtest: remove calls to t.Parallel() 2020-02-27 18:46:34 +00:00
wrappers.go internal/lsp/regtest: implement formatting and organizeImports 2020-03-02 19:16:53 +00:00