update test for Go 1.13

This commit is contained in:
Bryan Boreham
2020-06-21 14:59:37 +00:00
parent f77131c1a6
commit 349a823ea2

View File

@@ -13,7 +13,7 @@ var nonUnixSocketsTest = []struct {
}{
{"http://xyz.com", "protocol \"http\" not supported"},
{"tcp://var/unix.sock", "endpoint was not unix socket tcp"},
{"http://[fe80::%31]/", "parse http://[fe80::%31]/: invalid URL escape \"%31\""},
{"http://[fe80::%31]/", "parse \"http://[fe80::%31]/\": invalid URL escape \"%31\""},
}
func TestParseNonUnixEndpointUrl(t *testing.T) {