go.crypto/ssh: put version exchange in function

R=golang-dev, dave, jpsugar, agl
CC=golang-dev
https://golang.org/cl/14641044
This commit is contained in:
Han-Wen Nienhuys
2013-10-17 08:54:15 +11:00
committed by Dave Cheney
parent ed40a6cc35
commit f5f25bdad0
5 changed files with 112 additions and 82 deletions
+1 -1
View File
@@ -30,5 +30,5 @@ func TestCustomClientVersion(t *testing.T) {
}
func TestDefaultClientVersion(t *testing.T) {
testClientVersion(t, &ClientConfig{}, string(clientVersion))
testClientVersion(t, &ClientConfig{}, packageVersion)
}