1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:04:47 -07:00
go/internal/lsp/testdata/godef/a
Ian Cottrell 2d28432af7 internal/lsp: first pass at some hover tests
This uses golden files to hold the hover text as they are no more fragile than
hard coding the text in the tests, and much easier to update.
We need a lot more tests, and ones with actual comments, but this is a start and
at least adds the machienery it would take.

Change-Id: Ia2f79257642759e4c2f972d4037f258134e0fb33
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174380
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-04-30 19:42:29 +00:00
..
a.go internal/lsp: handle definitions for variables with error types 2019-04-15 20:59:51 +00:00
a.hover-7-6.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
a.hover-9-6.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
a.hover-14-6.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
d.go internal/lsp: make the guru emulation tests slightly looser with a different matching system 2019-04-04 13:25:00 +00:00
random.go internal/lsp: add definition tests from godef 2018-11-19 18:17:22 +00:00
random.hover-3-6.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
random.hover-8-6.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
random.hover-8-14.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
random.hover-13-2.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
random.hover-16-15.golden.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00