Add missing t.Helper() on RequireEventuallyf().

This gives us nicer test assertion failure messages.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2021-06-30 14:39:46 -05:00
parent 71d4e05fb6
commit 428f389c7d
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -65,6 +65,7 @@ func RequireEventuallyf(
msg string,
args ...interface{},
) {
t.Helper()
RequireEventually(t, f, waitFor, tick, fmt.Sprintf(msg, args...))
}