mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
Fix test break
This commit is contained in:
parent
bbac647656
commit
e70c02f768
@ -67,7 +67,7 @@ func TestDetourConfig(t *testing.T) {
|
|||||||
|
|
||||||
detour := detours[0]
|
detour := detours[0]
|
||||||
assert.String(detour.Protocol()).Equals("dokodemo-door")
|
assert.String(detour.Protocol()).Equals("dokodemo-door")
|
||||||
assert.Uint16(detour.PortRange().From()).Equals(uint16(53))
|
assert.Uint16(detour.PortRange().From()).Equals(uint16(28394))
|
||||||
assert.Uint16(detour.PortRange().To()).Equals(uint16(53))
|
assert.Uint16(detour.PortRange().To()).Equals(uint16(28394))
|
||||||
assert.Pointer(detour.Settings()).IsNotNil()
|
assert.Pointer(detour.Settings()).IsNotNil()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user