diff --git a/system_tests/estimation_test.go b/system_tests/estimation_test.go index 8dd1163625..eceaebddbe 100644 --- a/system_tests/estimation_test.go +++ b/system_tests/estimation_test.go @@ -142,8 +142,8 @@ func TestDifficultyForLatestArbOS(t *testing.T) { difficulty, err := simple.GetBlockDifficulty(&bind.CallOpts{}) Require(t, err) - if arbmath.BigEquals(difficulty, common.Big1) { - Fatal(t, "Expected difficulty to be 1 by got:", difficulty) + if !arbmath.BigEquals(difficulty, common.Big1) { + Fatal(t, "Expected difficulty to be 1 but got:", difficulty) } } @@ -164,8 +164,8 @@ func TestDifficultyForArbOSTen(t *testing.T) { difficulty, err := simple.GetBlockDifficulty(&bind.CallOpts{}) Require(t, err) - if arbmath.BigEquals(difficulty, common.Big1) { - Fatal(t, "Expected difficulty to be 1 by got:", difficulty) + if !arbmath.BigEquals(difficulty, common.Big1) { + Fatal(t, "Expected difficulty to be 1 but got:", difficulty) } }