Skip to content

Commit

Permalink
chore: GreaterOrEqual arguments must be inverted
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior committed Feb 28, 2023
1 parent 45976e3 commit af90574
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 af90574

Please sign in to comment.