commit | 56ebedf10a88b1ce29abd11ae60aa97aefc75805 | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Tue Apr 07 17:49:10 2020 -0400 |
committer | Julie Qiu <julieqiu@google.com> | Wed Apr 08 15:55:30 2020 +0000 |
tree | 287e7039951170014c94dca52c7be4a479b54257 | |
parent | 31573287af4857cca791cc172421b6ffe61b98dd [diff] |
internal/fetch: rewrite tests Tests for the fetch package are rewritten to make test cases clearer and easier to add/edit. Previously, there were multiple tests testing similar things in fetch_test.go: TestExtractPackagesFromZip, TestFetchVersion, and TestFetchVersion_Alternative. The different cases from these tests are now moved to fetchdata_test.go, and tested at the FetchVersion level. Change-Id: Iceee81b4b889b350f0c10c53c2c5ca750a8db891 Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/711173 Reviewed-by: Jonathan Amsterdam <jba@google.com>
Pkg.go.dev is a website for discovering and evaluting Go packages and modules.
Pkg.go.dev launched in November 2019, and is currently under active development by the Go team.
Our current goal is to work towards redirecting godoc.org traffic to pkg.go.dev, and ensure that we address users' needs in the process. Read more about our plans for pkg.go.dev in 2020.
We encourage everyone to begin using pkg.go.dev today for all of their needs and file feedback! You can redirect all of your requests from godoc.org to pkg.go.dev, by visiting godoc.org/?redirect=on. Details at Go issue #37099.
If you are having issues with pkg.go.dev, please first check the known issues before following the troubleshooting guide. If that does not give you the information you need, reach out to us.
You can chat with us on the #tools slack channel on the Gophers slack.
If you think you have an issue that needs fixing, or a feature suggestion, then please make sure you follow the steps to file an issue with the right information to allow us to address it.
We would love your help!
Our canonical Git repository is located cat go.googlesource.com/discovery. There is a mirror of the repository at github.com/golang/discovery.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.