diff --git a/tcplisten/tcplisten_test.go b/tcplisten/tcplisten_test.go index 6478b4d3e2..ad25c7fcea 100644 --- a/tcplisten/tcplisten_test.go +++ b/tcplisten/tcplisten_test.go @@ -41,8 +41,10 @@ func testConfig(t *testing.T, cfg Config) { if runtime.GOOS == "windows" { t.SkipNow() } - testConfigV(t, cfg, "tcp4", "localhost:10081") - testConfigV(t, cfg, "tcp6", "ip6-localhost:10081") + testConfigV(t, cfg, "tcp", "localhost:10083") + testConfigV(t, cfg, "tcp", "[::1]:10083") + testConfigV(t, cfg, "tcp4", "localhost:10083") + testConfigV(t, cfg, "tcp6", "[::1]:10083") } func testConfigV(t *testing.T, cfg Config, network, addr string) {