testify icon indicating copy to clipboard operation
testify copied to clipboard

Succeed quickly in `Eventually`, `EventuallyWithT`

Open cszczepaniak opened this issue 1 year ago • 8 comments

assert.Eventually does not check initially whether the condition is satisfied. This means it must wait a minimum of the tick duration before checking the condition for the first time. It would be a nice optimization to early-out if the condition is met already when the function is called.

cszczepaniak avatar Jul 13 '23 12:07 cszczepaniak