From c5a126fe9b37d331cc710e79d7123816b32437f0 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Wed, 13 Jan 2021 10:30:12 -0500 Subject: [PATCH] Update blockchain/v0/reactor_test.go Co-authored-by: Anton Kaliaev --- blockchain/v0/reactor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain/v0/reactor_test.go b/blockchain/v0/reactor_test.go index 93b60ae5b..d4672cbdb 100644 --- a/blockchain/v0/reactor_test.go +++ b/blockchain/v0/reactor_test.go @@ -302,7 +302,7 @@ func TestReactor_NoBlockResponse(t *testing.T) { if tc.existent { require.True(t, block != nil) } else { - require.True(t, block == nil, block) + require.Nil(t, block) } } }