mirror of https://github.com/golang/go.git
net: add test case for SplitHostPort with zone
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6854119
This commit is contained in:
parent
25dd00295c
commit
6d622416f1
|
|
@ -268,6 +268,7 @@ var splitjointests = []struct {
|
|||
{"www.google.com", "80", "www.google.com:80"},
|
||||
{"127.0.0.1", "1234", "127.0.0.1:1234"},
|
||||
{"::1", "80", "[::1]:80"},
|
||||
{"google.com", "https%foo", "google.com:https%foo"}, // Go 1.0 behavior
|
||||
}
|
||||
|
||||
func TestSplitHostPort(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue