A consequence of CL 19747 was that ad hoc packages of a single filename are no longer valid -scope arguments, which broke most of the tests. This CL fixes the tests by extracting the import path from the filename. The test output now includes the import path, not the package name, of each of these packages, so the output was updated too. Also, the -scope argument caused the main package to be imported twice, once as main.go and once under its import path, causing duplicate 'implements' results. I'm not sure how I failed to notice this. Change-Id: I6fb3ae3e1497f0eb8cf88f453660b9e2fd9718d8 Reviewed-on: https://go-review.googlesource.com/19886 Reviewed-by: Michael Matloob <matloob@golang.org> |
||
|---|---|---|
| benchmark/parse | ||
| blog | ||
| cmd | ||
| container/intsets | ||
| cover | ||
| go | ||
| godoc | ||
| imports | ||
| oracle | ||
| playground | ||
| present | ||
| refactor | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| CONTRIBUTING.md | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
README
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 oracle 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. To submit changes to this repository, see http://golang.org/doc/contribute.html.