Skip to content

Commit f6f43fb

Browse files
committed
lint 💄
1 parent cbfd1c6 commit f6f43fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lo_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ func testWithTimeout(t *testing.T, timeout time.Duration) {
1212
testFinished := make(chan struct{})
1313
t.Cleanup(func() { close(testFinished) })
1414

15-
go func() {
15+
go func() { //nolint:staticcheck
1616
select {
1717
case <-testFinished:
1818
case <-time.After(timeout):
1919
t.Errorf("test timed out after %s", timeout)
20-
t.FailNow()
20+
t.FailNow() //nolint:govet,staticcheck
2121
}
2222
}()
2323
}

0 commit comments

Comments
 (0)