diff --git a/internal/util/topology_test.go b/internal/util/topology_test.go index 43bafa22f..c01106545 100644 --- a/internal/util/topology_test.go +++ b/internal/util/topology_test.go @@ -24,12 +24,14 @@ import ( ) func checkError(t *testing.T, msg string, err error) { + t.Helper() if err == nil { t.Errorf(msg) } } func checkAndReportError(t *testing.T, msg string, err error) { + t.Helper() if err != nil { t.Errorf("%s (%v)", msg, err) }