diff options
| author | Julie Qiu <julie@golang.org> | 2020-07-25 10:31:08 -0400 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-07-27 22:11:59 +0000 |
| commit | 0aa277875b034a3f9b9ca761e36791a56cde979f (patch) | |
| tree | dfa1770ce597e64da8d38e71c4a2c5ed682ed92a /internal/stdlib/stdlib.go | |
| parent | 28e91c83d738eae564c436ba27ffa33b0b97a5dd (diff) | |
| download | go-x-pkgsite-0aa277875b034a3f9b9ca761e36791a56cde979f.tar.xz | |
internal/stdlib: sort testRefs
testRefs are sorted based on the Go version and other tags.
Change-Id: Ia190e661bb93ad69d025f976dc2e2597fa9650c4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/244609
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/stdlib/stdlib.go')
| -rw-r--r-- | internal/stdlib/stdlib.go | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/internal/stdlib/stdlib.go b/internal/stdlib/stdlib.go index 3e5af91a..a44df651 100644 --- a/internal/stdlib/stdlib.go +++ b/internal/stdlib/stdlib.go @@ -405,24 +405,26 @@ func Contains(path string) bool { // References used for Versions during testing. var testRefs = []plumbing.ReferenceName{ - "refs/changes/56/93156/13", - "refs/tags/weekly.2011-04-13", - "refs/tags/go1.8rc2", + // stdlib versions + "refs/tags/go1.2.1", + "refs/tags/go1.3.2", + "refs/tags/go1.4.2", + "refs/tags/go1.4.3", + "refs/tags/go1.6", + "refs/tags/go1.6.3", + "refs/tags/go1.6beta1", "refs/tags/go1.8", - "refs/tags/release.r59", + "refs/tags/go1.8rc2", "refs/tags/go1.9rc1", + "refs/tags/go1.11", + "refs/tags/go1.12", "refs/tags/go1.12.1", "refs/tags/go1.12.5", "refs/tags/go1.12.9", - "refs/tags/go1.6beta1", - "refs/tags/go1.6", - "refs/tags/go1.13beta1", - "refs/tags/go1.12", - "refs/tags/go1.2.1", - "refs/tags/go1.4.3", - "refs/tags/go1.6.3", - "refs/tags/go1.4.2", - "refs/tags/go1.11", "refs/tags/go1.13", - "refs/tags/go1.3.2", + "refs/tags/go1.13beta1", + // other tags + "refs/changes/56/93156/13", + "refs/tags/release.r59", + "refs/tags/weekly.2011-04-13", } |
