Skip to content

Commit

Permalink
lint 💄
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Jul 15, 2024
1 parent cbfd1c6 commit f6f43fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ func testWithTimeout(t *testing.T, timeout time.Duration) {
testFinished := make(chan struct{})
t.Cleanup(func() { close(testFinished) })

go func() {
go func() { //nolint:staticcheck
select {
case <-testFinished:
case <-time.After(timeout):
t.Errorf("test timed out after %s", timeout)
t.FailNow()
t.FailNow() //nolint:govet,staticcheck
}
}()
}
Expand Down

0 comments on commit f6f43fb

Please sign in to comment.