mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
assert error is nil
This commit is contained in:
parent
6d9d55bcba
commit
befd24c83e
@ -44,6 +44,7 @@ func TestRouter(t *testing.T) {
|
||||
IP: []byte{127, 0, 0, 1},
|
||||
Port: int(50020),
|
||||
})
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
payload := "direct dokodemo request."
|
||||
nBytes, err := conn.Write([]byte(payload))
|
||||
|
Loading…
Reference in New Issue
Block a user