From 6d622416f1088fef92d44c79af2dfcb385088ffa Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 29 Nov 2012 15:43:05 -0500 Subject: [PATCH] net: add test case for SplitHostPort with zone R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6854119 --- src/pkg/net/ip_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/net/ip_test.go b/src/pkg/net/ip_test.go index dc8a35270b..8324d2a327 100644 --- a/src/pkg/net/ip_test.go +++ b/src/pkg/net/ip_test.go @@ -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) { -- 2.48.1