test: fix use of t.Logf where t.Log would suffice (#16328)

This commit is contained in:
Mathias Fredriksson
2025-01-29 16:35:04 +02:00
committed by GitHub
parent 6caa29a29f
commit c069563af1
15 changed files with 39 additions and 39 deletions

View File

@ -101,7 +101,7 @@ func TestHeartbeat(t *testing.T) {
ctx := testutil.Context(t, testutil.WaitShort)
heartbeatChan := make(chan struct{})
heartbeatFn := func(hbCtx context.Context) error {
t.Logf("heartbeat")
t.Log("heartbeat")
select {
case <-hbCtx.Done():
return hbCtx.Err()