fix test using uncommon names

This commit is contained in:
Petabyte Storage
2017-10-28 20:29:11 -07:00
parent 128e2a1d9e
commit 6b366b2443

View File

@@ -31,9 +31,9 @@ func TestNewNetAddressString(t *testing.T) {
}{
{"127.0.0.1:8080", true},
// {"127.0.0:8080", false},
{"a", false},
{"127.0.0.1:a", false},
{"a:8080", false},
{"notahost", false},
{"127.0.0.1:notapath", false},
{"notahost:8080", false},
{"8082", false},
{"127.0.0:8080000", false},
}