mirror of https://github.com/golang/go.git
The purpose of t.Helper is to attribute test failures to the caller's file and line number. However, in lsp.TestLSP (and in tests.RunTests) the reason for a given failure tends to have little to no relationship to the caller code, so it is more useful to attribute failures to the specific part of the setup that fails. For golang/go#50477 Change-Id: I7c37070d036efb20f68764cfb82ce2aab1ff933c Reviewed-on: https://go-review.googlesource.com/c/tools/+/375877 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| mod | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||