check error in router_test

pull/82/head
Darien Raymond 9 years ago
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…
Cancel
Save