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:
parent
71d4e05fb6
commit
428f389c7d
@ -65,6 +65,7 @@ func RequireEventuallyf(
|
|||||||
msg string,
|
msg string,
|
||||||
args ...interface{},
|
args ...interface{},
|
||||||
) {
|
) {
|
||||||
|
t.Helper()
|
||||||
RequireEventually(t, f, waitFor, tick, fmt.Sprintf(msg, args...))
|
RequireEventually(t, f, waitFor, tick, fmt.Sprintf(msg, args...))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user