go/gopls/internal/regtest/diagnostics
Robert Findley bebd890374 go/analysis: remove stray print statement in the timeformat analyzer
A debugging print statement was left in the analyzer, which breaks
gopls' communication over stdin/stdout.

Fix this, and add tests.

Fixes golang/vscode-go#2406

Change-Id: I1b785fa09e66eae2f1b1e03806e5b59d2015e75e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/422902
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Tim King <taking@google.com>
2022-08-12 17:40:51 +00:00
..
analysis_test.go go/analysis: remove stray print statement in the timeformat analyzer 2022-08-12 17:40:51 +00:00
builtin_test.go internal/lsp: don't call PackagesForFile on builtin.go 2021-04-29 13:06:21 +00:00
diagnostics_test.go internal/lsp/cache: register a file watcher for explicit GOWORK values 2022-08-08 18:11:08 +00:00
invalidation_test.go internal/lsp: re-send diagnostics on file events 2022-08-02 18:52:36 +00:00
undeclared_test.go gopls/internal/regtest/bench: refactor and improve benchmarks 2022-08-04 14:58:59 +00:00