Commit 6d622416 authored by Russ Cox's avatar Russ Cox

net: add test case for SplitHostPort with zone

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6854119
parent 25dd0029
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment