A TestReporter is something that can be used to report test failures. It is satisfied by the standard library's *testing.T.
| 25 | // A TestReporter is something that can be used to report test failures. It |
| 26 | // is satisfied by the standard library's *testing.T. |
| 27 | type TestReporter interface { |
| 28 | Errorf(format string, args ...any) |
| 29 | Fatalf(format string, args ...any) |
| 30 | } |
| 31 | |
| 32 | // TestHelper is a TestReporter that has the Helper method. It is satisfied |
| 33 | // by the standard library's *testing.T. |
no outgoing calls
no test coverage detected