From c2d6c5b0928761d732516050ef62af7fc140a9c2 Mon Sep 17 00:00:00 2001 From: tycho garen Date: Thu, 10 Mar 2022 14:42:02 -0500 Subject: [PATCH] clarify an error --- internal/consensus/state_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/state_test.go b/internal/consensus/state_test.go index 6bae30fe2..32cb84a9c 100644 --- a/internal/consensus/state_test.go +++ b/internal/consensus/state_test.go @@ -2100,7 +2100,7 @@ func TestWaitingTimeoutProposeOnNewRound(t *testing.T) { ensureNewRound(t, newRoundCh, height, round) rs := cs1.GetRoundState() - assert.True(t, rs.Step == cstypes.RoundStepPropose) // P0 does not prevote before timeoutPropose expires + assert.Equal(t, rs.Step, cstypes.RoundStepPropose) // P0 does not prevote before timeoutPropose expires ensureNewTimeout(t, timeoutWaitCh, height, round, cs1.config.Propose(round).Nanoseconds())