Commit Graph

2 Commits (22337da18ce4c39af87779ddd74cf46d311440c6)

Author SHA1 Message Date
Mariano Cano 68a89fbb02 Split Go 1.19 problematic with build tags 2 years ago
Shulhan 0e7257a236
kms/uri: fix test on Parse for the next Go release
The next Go release add field OmitHost to url.URL [1] which cause the
TestParse fail.
Since the CI supports two consecutive Go versions at the same times, we
copy the uri_test.go to uri_119_test.go for testing with Go 1.19.

While at it, print the got and want object using the same format
(%#v) and type (*URL) for consistency.

[1] https://go-review.googlesource.com/c/go/+/391294
2 years ago