mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
This change converts cmd/godoc tests to use the packagestest package in its basic integration tests. For now, those tests continue to run in GOPATH mode only. When module support is added to cmd/godoc, then the same tests will be made to run in module mode too. Previously, the basic integration test covered godoc functionality on Go packages in GOROOT only. This change also adds some third party packages to increase test coverage. This is easy to do with the packagestest API. Updates golang/go#33655 Change-Id: If3fce913140b81ed9340556d6bb4b963f5f98813 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196981 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>