From 4a4eaa24fd20c743757dc43657b7e8048e9275c1 Mon Sep 17 00:00:00 2001 From: Meow597 <197331664+Meo597@users.noreply.github.com> Date: Sat, 22 Mar 2025 00:04:07 +0800 Subject: [PATCH] Fix test TestIPIfNonMatchDomain --- app/router/router_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/router_test.go b/app/router/router_test.go index 53cf5bdc..a0516e05 100644 --- a/app/router/router_test.go +++ b/app/router/router_test.go @@ -222,7 +222,7 @@ func TestIPIfNonMatchDomain(t *testing.T) { IPv4Enable: true, IPv6Enable: true, FakeEnable: false, - }).Return([]net.IP{{192, 168, 0, 1}}, nil).AnyTimes() + }).Return([]net.IP{{192, 168, 0, 1}}, uint32(600), nil).AnyTimes() r := new(Router) common.Must(r.Init(context.TODO(), config, mockDNS, nil, nil))