Update port range test

pull/55/head
V2Ray 2015-11-03 20:07:46 +01:00
parent 6faff6d514
commit cb19e4613f
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func TestOverRangeStringPort(t *testing.T) {
assert := unit.Assert(t)
var portRange PortRange
err := json.Unmarshal([]byte("\"-1\""), &portRange)
err := json.Unmarshal([]byte("\"65536\""), &portRange)
assert.Error(err).Equals(InvalidPortRange)
err = json.Unmarshal([]byte("\"70000-80000\""), &portRange)