This commit is contained in:
Liang Ding 2018-10-28 10:03:24 +08:00
parent d4980a0e4d
commit 2edbefd883
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
1 changed files with 0 additions and 5 deletions

View File

@ -34,11 +34,6 @@ func TestGetAPIPath(t *testing.T) {
apiPath := Go.GetAPIPath() apiPath := Go.GetAPIPath()
v := runtime.Version()[2:] v := runtime.Version()[2:]
if 3 < len(v) {
v = v[:4]
} else {
v = v[:3]
}
ver, err := version.NewVersion(v) ver, err := version.NewVersion(v)
if nil != err { if nil != err {