Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a missing name to the *testing.T argument. (prometheus#425)
When using t.Run, the subtest must take a named *testing.T argument. Otherwise, inner calls to t.Error etc. are invoked on the outer test object, which is pretty much always wrong. Signed-off-by: Matt Harden <matt.harden@gmail.com>
- Loading branch information