diff --git a/gotooltest/setup.go b/gotooltest/setup.go index 6673580f..122d2464 100644 --- a/gotooltest/setup.go +++ b/gotooltest/setup.go @@ -22,7 +22,7 @@ import ( ) var ( - goVersionRegex = regexp.MustCompile(`^go([1-9][0-9]*)\.(0|[1-9][0-9]*)$`) + goVersionRegex = regexp.MustCompile(`^go([1-9][0-9]*)\.([1-9][0-9]*)$`) goEnv struct { GOROOT string