From 58c84bea21877b3f6848dd9a25385f1941ae92f7 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 1 Feb 2016 11:38:54 +0000 Subject: [PATCH] check error in router_test --- testing/scenarios/router_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/scenarios/router_test.go b/testing/scenarios/router_test.go index 87a4e482..910de48a 100644 --- a/testing/scenarios/router_test.go +++ b/testing/scenarios/router_test.go @@ -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))