mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-06 07:13:33 +03:00
Fix test
This commit is contained in:
parent
d02467f7bc
commit
adf33c9ae0
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ func TestIPOnDemand(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))
|
||||
|
|
Loading…
Add table
Reference in a new issue