From 2edbefd8830d6fb65e66e3c61afe1d6aba23275b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 28 Oct 2018 10:03:24 +0800 Subject: [PATCH] :bug: Fix #349 --- util/go_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/util/go_test.go b/util/go_test.go index 2e75673..db93417 100644 --- a/util/go_test.go +++ b/util/go_test.go @@ -34,11 +34,6 @@ func TestGetAPIPath(t *testing.T) { apiPath := Go.GetAPIPath() v := runtime.Version()[2:] - if 3 < len(v) { - v = v[:4] - } else { - v = v[:3] - } ver, err := version.NewVersion(v) if nil != err {