From 5e3a41a4771df6b09e24c113fbf29aab8d4e1f77 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 23 Feb 2022 11:18:33 -0500 Subject: [PATCH] use require true --- internal/state/execution_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/state/execution_test.go b/internal/state/execution_test.go index 95234a00e..636e654e7 100644 --- a/internal/state/execution_test.go +++ b/internal/state/execution_test.go @@ -310,7 +310,7 @@ func TestProcessProposal(t *testing.T) { app.On("ProcessProposal", mock.Anything).Return(abci.ResponseProcessProposal{Accept: true}) acceptBlock, err := blockExec.ProcessProposal(ctx, block1, state) require.NoError(t, err) - require.Equal(t, true, acceptBlock) + require.True(t, acceptBlock) app.AssertExpectations(t) app.AssertCalled(t, "ProcessProposal", expectedRpp) }