From af90574e828671140a98c1c0927a690e34c9d5cc Mon Sep 17 00:00:00 2001 From: EclesioMeloJunior Date: Tue, 28 Feb 2023 16:25:01 -0400 Subject: [PATCH] chore: `GreaterOrEqual` arguments must be inverted --- tests/rpc/rpc_03-chain_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rpc/rpc_03-chain_test.go b/tests/rpc/rpc_03-chain_test.go index 344bfb1790..a05010f4a2 100644 --- a/tests/rpc/rpc_03-chain_test.go +++ b/tests/rpc/rpc_03-chain_test.go @@ -162,7 +162,7 @@ func TestChainSubscriptionRPC(t *testing.T) { //nolint:tparallel result := getResultMapFromParams(t, params) number := getResultNumber(t, result) - assert.GreaterOrEqual(t, uint(i+1), number) + assert.GreaterOrEqual(t, number, uint(i+1)) assertResult32BHex(t, result, "parentHash") assertResult32BHex(t, result, "stateRoot")