mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
test: fix use of t.Logf
where t.Log
would suffice (#16328)
This commit is contained in:
committed by
GitHub
parent
6caa29a29f
commit
c069563af1
@ -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()
|
||||
|
Reference in New Issue
Block a user