commit | 889af361d29ca094dfa534735022e9a6a4c5bc92 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Oct 30 16:59:48 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Oct 30 21:10:04 2019 +0000 |
tree | 52da3d615c6721d75ac0eeb250603ce1441e1739 | |
parent | 5e247c9ad0a0a5f0032a0bfb2d1eb6e0dca10318 [diff] |
internal/lsp/testdata: change test case to work around CL 202581 go/parser has switched from reporting no position for the end of a broken file to reporting an invalid position. This broke on of our tests that contains broken code. Change the test case as a result. Change-Id: I4feb7790539994e593c56d5ae84929364c1eec1c Reviewed-on: https://go-review.googlesource.com/c/tools/+/204202 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.