From e70c02f768e6d5aba8474dd10fa80a076a928332 Mon Sep 17 00:00:00 2001 From: V2Ray Date: Mon, 2 Nov 2015 00:06:56 +0100 Subject: [PATCH] Fix test break --- app/point/config/json/json_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/point/config/json/json_test.go b/app/point/config/json/json_test.go index c5b915d1f..b7daa2d7c 100644 --- a/app/point/config/json/json_test.go +++ b/app/point/config/json/json_test.go @@ -67,7 +67,7 @@ func TestDetourConfig(t *testing.T) { detour := detours[0] assert.String(detour.Protocol()).Equals("dokodemo-door") - assert.Uint16(detour.PortRange().From()).Equals(uint16(53)) - assert.Uint16(detour.PortRange().To()).Equals(uint16(53)) + assert.Uint16(detour.PortRange().From()).Equals(uint16(28394)) + assert.Uint16(detour.PortRange().To()).Equals(uint16(28394)) assert.Pointer(detour.Settings()).IsNotNil() }