Skip to content

Commit

Permalink
fix(tests/rpc): place GreaterOrEqual arguments in the correct order…
Browse files Browse the repository at this point in the history
… at `chain_subscribeNewHeads` test (#3137)
  • Loading branch information
EclesioMeloJunior committed Mar 2, 2023
1 parent fe4e1a9 commit 33bdf28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rpc/rpc_03-chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 33bdf28

Please sign in to comment.