From 4ffc999617bca4733634959985378a3411e627fd Mon Sep 17 00:00:00 2001 From: Dave Yu Date: Thu, 9 Mar 2023 10:44:36 +0800 Subject: [PATCH] Fix: modify local ip to pass all test (#2595) --- test/clash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/clash_test.go b/test/clash_test.go index 3bf7a59..98c6a3f 100644 --- a/test/clash_test.go +++ b/test/clash_test.go @@ -654,7 +654,7 @@ log-level: silent require.NoError(t, err) defer cleanup() - require.True(t, TCPing(net.JoinHostPort(localIP.String(), "10000"))) + require.True(t, TCPing(net.JoinHostPort("127.0.0.1", "10000"))) testPingPongWithSocksPort(t, 10000) }