mirror of
https://github.com/golang/go
synced 2024-11-19 09:34:52 -07:00
a9a43c4726
A test variant for a package can only be reloaded by running go/packages on the non-test variants import path with the -test flag. We need to cache this import path in order to be able to reload a test package on-demand. Also, always ignore test main packages by detecting them in the metadata. Fixes golang/go#36473 Change-Id: I6e5a61c8e73689212303ae09fa3aed4a2ee8762a Reviewed-on: https://go-review.googlesource.com/c/tools/+/213660 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
test | ||
capabilities_test.go | ||
check.go | ||
cmd_test.go | ||
cmd.go | ||
definition.go | ||
export_test.go | ||
folding_range.go | ||
format.go | ||
highlight.go | ||
implementation.go | ||
imports.go | ||
info.go | ||
links.go | ||
query.go | ||
references.go | ||
rename.go | ||
serve.go | ||
signature.go | ||
suggested_fix.go | ||
symbols.go |