spacemonkeygo / openssl

OpenSSL bindings for Go
http://godoc.org/github.com/spacemonkeygo/openssl
Apache License 2.0
472 stars 237 forks source link

Make test confom to new requirement enforced in go 1.10 #83

Closed jcajka closed 6 years ago

jcajka commented 6 years ago

https://tip.golang.org/doc/go1.10#test. With out this change tests will always fails with go 1.10+.

# github.com/spacemonkeygo/openssl
go/src/github.com/spacemonkeygo/openssl/key_test.go:80: Fatal call has possible formatting directive %s
go/src/github.com/spacemonkeygo/openssl/key_test.go:294: Fatal call has possible formatting directive %s
go/src/github.com/spacemonkeygo/openssl/sha1_test.go:38: Fatal call has possible formatting directive %x
go/src/github.com/spacemonkeygo/openssl/sha1_test.go:76: Fatal call has possible formatting directive %x
go/src/github.com/spacemonkeygo/openssl/sha256_test.go:38: Fatal call has possible formatting directive %x
go/src/github.com/spacemonkeygo/openssl/sha256_test.go:76: Fatal call has possible formatting directive %x
FAIL    github.com/spacemonkeygo/openssl [build failed]
zeebo commented 6 years ago

thanks!