From 428f389c7db67ceb7769a125c61d8261bce91162 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 30 Jun 2021 14:39:46 -0500 Subject: [PATCH] Add missing t.Helper() on RequireEventuallyf(). This gives us nicer test assertion failure messages. Signed-off-by: Matt Moyer --- test/testlib/assertions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testlib/assertions.go b/test/testlib/assertions.go index 202f7565..384188e5 100644 --- a/test/testlib/assertions.go +++ b/test/testlib/assertions.go @@ -65,6 +65,7 @@ func RequireEventuallyf( msg string, args ...interface{}, ) { + t.Helper() RequireEventually(t, f, waitFor, tick, fmt.Sprintf(msg, args...)) }