mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
cfa8b22178
Currently, where a package has a test variant, we end up walking the non-_test.go files twice: once when walking the package itself, the second time when walking the test variant. In the gopls tests, this means we end up double-counting the number of symbols (via the @symbol annotation) in a package. Extend the existing expect_test.go to demonstrate the problem is fixed (a test which fails when the fix is not in place) Change-Id: Ifd68b3d86e24f19d3f8efc3af71494b7d28b0acb Reviewed-on: https://go-review.googlesource.com/c/tools/+/228761 Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
indirect | ||
lsp | ||
missingdep | ||
missingtwodep | ||
unused | ||
upgradedep |