Open brackendawson opened 1 month ago
I'm curious what @dolmen and @cszczepaniak think about this as you were discussing in this area over the summer. I think we should make Never, Eventually and EventuallyWithT wait for the last run of their condition functions to return, it would make their behaviour consistent when they are called with unreasonably small times.
Description
If a condition function is passed to
Never
which does not return once beforewaitFor
elapses, then the assertion passes having never completed a single check.Technically this is correct, but I think our implementation of it is surprising.
Step To Reproduce
Expected behavior
The test fails because the condition is statically true
Actual behavior
Test passes