Skip to content

Commit

Permalink
Update port range test
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Nov 3, 2015
1 parent 6faff6d commit cb19e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/point/config/json/portrange_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cb19e46

Please sign in to comment.