mirror of https://github.com/v2ray/v2ray-core
check error in router_test
parent
3b1f92b7e8
commit
58c84bea21
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue