MockT mocks TestingTB. It's used to let us verify our test helpers.
| 60 | |
| 61 | // MockT mocks TestingTB. It's used to let us verify our test helpers. |
| 62 | type MockT struct { |
| 63 | Failed bool |
| 64 | logOutput bytes.Buffer |
| 65 | tb TestingTB |
| 66 | } |
| 67 | |
| 68 | // NewMockT initializes a new MockT. It takes another TestingTB which is usually |
| 69 | // something like a *testing.T and where logs are emitted to along with being |
nothing calls this directly
no outgoing calls
no test coverage detected