Eventually
functions documentation is misleading as waitFor and tick are swapped in the example
#1677
Labels
Eventually
functions documentation is misleading as waitFor and tick are swapped in the example
#1677
Description
Documentation of
EventuallyWithT
andEventuallyWithTf
functions (in both require or assert package) is misleading, as the sample code swapswaitFor
andtick
args in the call.Step To Reproduce
Go to assert.EventuallyWithT docs and look at the example, it shows
1*time.Second
, that is supposed to be thetick
as 1st argument that should bewaitFor
.Same thing for assert.EventuallyWithTf, require.EventuallyWithT and require.EventuallyWithTf.
The text was updated successfully, but these errors were encountered: