1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00

check error in router_test

This commit is contained in:
Darien Raymond 2016-02-01 11:38:54 +00:00
parent 3b1f92b7e8
commit 58c84bea21

View File

@ -63,6 +63,7 @@ func TestRouter(t *testing.T) {
IP: []byte{127, 0, 0, 1},
Port: int(50022),
})
assert.Error(err).IsNil()
payload = "blocked dokodemo request."
nBytes, err = conn.Write([]byte(payload))