aboutsummaryrefslogtreecommitdiff
path: root/internal/stdlib/stdlib_test.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2019-10-07 17:24:56 -0400
committerJulie Qiu <julie@golang.org>2020-03-27 16:46:44 -0400
commit55f326baf661f3dccf9b457236b4a239dffba612 (patch)
tree6a26d7b5ab085bad59323440e47de41b7d6b2aeb /internal/stdlib/stdlib_test.go
parent55d00fdccee8028e2e4fdf383e7b9a2c9e92a857 (diff)
downloadgo-x-pkgsite-55f326baf661f3dccf9b457236b4a239dffba612.tar.xz
internal/stdlib: export VersionForTag
VersionForTag will be used in internal/frontend in the next set of CLs for the new URL design. Updates b/140191811 Change-Id: I85c11ac0d6e8c5e8c1040f2dbdc6a385a3e4ee09 Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/567617 Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/stdlib/stdlib_test.go')
-rw-r--r--internal/stdlib/stdlib_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/stdlib/stdlib_test.go b/internal/stdlib/stdlib_test.go
index ed4d8a7c..65aecec4 100644
--- a/internal/stdlib/stdlib_test.go
+++ b/internal/stdlib/stdlib_test.go
@@ -162,7 +162,7 @@ func TestVersionForTag(t *testing.T) {
{"go1.1beta", ""},
{"weekly.2012-02-14", ""},
} {
- got := versionForTag(tc.in)
+ got := VersionForTag(tc.in)
if got != tc.want {
t.Errorf("releaseVersionForTag(%q) = %q, want %q", tc.in, got, tc.want)
}