fix tests

This commit is contained in:
aeitzman
2023-09-19 13:39:38 -07:00
parent 2f8ab1bf0a
commit 7ed4957b20
2 changed files with 4 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ func goVersion() string {
s = s[:p]
}
return s
} else if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
s = s[:p]
}
notSemverRune := func(r rune) bool {