From befd24c83ec84ead027f398160cb61d6bd53dc00 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 26 Jan 2016 10:27:50 +0000 Subject: [PATCH] assert error is nil --- 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 7313a072..87a4e482 100644 --- a/testing/scenarios/router_test.go +++ b/testing/scenarios/router_test.go @@ -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))