Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark VerifyNone as a test Helper (#75)
Mark `VerifyNone(...)` as a test `Helper` function, so that it reports the error at the call site, rather than `leaks.go:78:`. From the [go docs](https://pkg.go.dev/testing#T.Helper): > Helper marks the calling function as a test helper function. When printing file and line information, that function will be skipped. Helper may be called simultaneously from multiple goroutines. This is useful for tests that verify go routines at multiple points, so failures can be more easily distinguished.
- Loading branch information