Closed kevinburke closed 7 years ago
staticcheck warns about calling t.Fatalf from a goroutine. From the docs for t.FailNow:
t.FailNow
FailNow must be called from the goroutine running the test or benchmark function, not from other goroutines created during the test.
https://godoc.org/testing#T.FailNow
done
staticcheck warns about calling t.Fatalf from a goroutine. From the docs for
t.FailNow
:https://godoc.org/testing#T.FailNow