forked from remote/oauth2
fix tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
package externalaccount
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
@@ -43,4 +44,5 @@ func TestGoVersion(t *testing.T) {
|
||||
t.Errorf("got(-),want(+):\n%s", diff)
|
||||
}
|
||||
}
|
||||
version = runtime.Version
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user