From 7893d4a3ad1b571410f759488930162663393b66 Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Fri, 26 Jun 2020 17:02:07 -0700 Subject: [PATCH] fix(lint): fix lint errors --- responsemanager/responsemanager_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/responsemanager/responsemanager_test.go b/responsemanager/responsemanager_test.go index 364a7275..4523f611 100644 --- a/responsemanager/responsemanager_test.go +++ b/responsemanager/responsemanager_test.go @@ -281,9 +281,8 @@ func TestCancellationViaCommand(t *testing.T) { require.Equal(t, td.requestID, sentResponse.requestID, "has incorrect response id") // send a cancellation - responseManager.CancelResponse(td.p, td.requestID) - - responseManager.synchronize() + err := responseManager.CancelResponse(td.p, td.requestID) + require.NoError(t, err) // at this point we should receive at most one more block, then traversal // should complete