summaryrefslogtreecommitdiff
path: root/src/pkg/net/ip_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/ip_test.go')
-rw-r--r--src/pkg/net/ip_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/net/ip_test.go b/src/pkg/net/ip_test.go
index f1a4716d2..2008953ef 100644
--- a/src/pkg/net/ip_test.go
+++ b/src/pkg/net/ip_test.go
@@ -29,6 +29,7 @@ var parseiptests = []struct {
{"127.0.0.1", IPv4(127, 0, 0, 1)},
{"127.0.0.256", nil},
{"abc", nil},
+ {"123:", nil},
{"::ffff:127.0.0.1", IPv4(127, 0, 0, 1)},
{"2001:4860:0:2001::68",
IP{0x20, 0x01, 0x48, 0x60, 0, 0, 0x20, 0x01,