From 55f326baf661f3dccf9b457236b4a239dffba612 Mon Sep 17 00:00:00 2001 From: Julie Qiu Date: Mon, 7 Oct 2019 17:24:56 -0400 Subject: 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 --- internal/stdlib/stdlib_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/stdlib/stdlib_test.go') 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) } -- cgit v1.3-5-g45d5