Eventuallyf asserts that given condition will be met in waitFor time, periodically checking target function each tick. a.Eventuallyf(func() bool { return true; }, time.Second, 10*time.Millisecond, "error message %s", "formatted")
(condition func() bool, waitFor time.Duration, tick time.Duration, msg string, args ...interface{})
| 374 | // |
| 375 | // a.Eventuallyf(func() bool { return true; }, time.Second, 10*time.Millisecond, "error message %s", "formatted") |
| 376 | func (a *Assertions) Eventuallyf(condition func() bool, waitFor time.Duration, tick time.Duration, msg string, args ...interface{}) bool { |
| 377 | if h, ok := a.t.(tHelper); ok { |
| 378 | h.Helper() |
| 379 | } |
| 380 | return Eventuallyf(a.t, condition, waitFor, tick, msg, args...) |
| 381 | } |
| 382 | |
| 383 | // Exactly asserts that two objects are equal in value and type. |
| 384 | // |
nothing calls this directly
no test coverage detected