diff --git a/tests/contracts/testClock.nim b/tests/contracts/testClock.nim index 37d5cada2..1b325af77 100644 --- a/tests/contracts/testClock.nim +++ b/tests/contracts/testClock.nim @@ -28,7 +28,7 @@ ethersuite "On-Chain Clock": test "updates time using wall-clock in-between blocks": let past = clock.now() await sleepAsync(chronos.seconds(1)) - check clock.now() == past + 1 + check clock.now() > past test "raises when not started": expect AssertionError: