From d4f49bc54029846a95444f3be44b3018d212dcd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ecl=C3=A9sio=20Junior?= Date: Thu, 2 Mar 2023 09:29:52 -0400 Subject: [PATCH] fix(tests/rpc): place `GreaterOrEqual` arguments in the correct order at `chain_subscribeNewHeads` test (#3137) --- 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")