1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:18:32 -06:00
go/internal/lsp/testdata/format
Ian Cottrell 490d13020f internal/lsp: switch golden files to use txtar
I was about to add some more tests and it caused a huge number of golden files,
which was hard to deal with. Now all the golden files are packed into a single
.golden archive in the txtar format.
I also changed the tagging key for hover results to use the marker name rather
than the line and column, as it makes it more stable against test data changes.

Change-Id: Iaa1f54ab55a41d380db67b9f6f928fa7a52d9a5e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174877
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-05-08 14:59:27 +00:00
..
bad_format.go.golden internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
bad_format.go.in internal/lsp: connect basic analysis functionality 2019-02-06 21:48:25 +00:00
good_format.go internal/lsp: fix and add tests for formatting 2018-11-15 19:42:43 +00:00
good_format.go.golden internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
newline_format.go.golden internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
newline_format.go.in internal/lsp/diff: fix bug that adds extra line to files on format 2019-02-13 04:28:36 +00:00
one_line.go.golden internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
one_line.go.in internal/span: update the offset if the end offset should be valid but is not 2019-05-03 18:46:43 +00:00