1
0
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:
Darien Raymond 2016-01-26 10:27:50 +00:00
parent 6d9d55bcba
commit befd24c83e

View File

@ -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))