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
1 changed files with 1 additions and 0 deletions

View File

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