1
0
mirror of https://github.com/golang/go synced 2024-11-06 10:36:13 -07:00
go/godoc/dl
Dmitri Shuralyov 4b7be70d8a godoc/dl: don't display unstable releases under archive
If a release is unstable, don't consider adding it to archive or stable
lists as well. It should be present in the unstable list only.

Create and use test helper list to make tests more compact and thorough.

Also use a more consistent order of got, want in TestFilesToReleases.

Fixes golang/go#29669

Change-Id: I74cf1fa8ebf05b13a3a4c40b53442c50e0427302
Reviewed-on: https://go-review.googlesource.com/c/157499
Reviewed-by: Chris Broadfoot <cbro@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-01-11 18:10:22 +00:00
..
dl_test.go godoc/dl: don't display unstable releases under archive 2019-01-11 18:10:22 +00:00
dl.go godoc/dl: don't display unstable releases under archive 2019-01-11 18:10:22 +00:00
server.go godoc/dl: serve "go get" meta for golang.org/dl/gotip 2018-12-12 18:30:22 +00:00
tmpl.go godoc: migrate to App Engine flexible 2018-10-02 04:34:10 +00:00