internal/stdlib: sort testRefs
testRefs are sorted based on the Go version and other tags.
@@ -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",
}
