mockT implements TestT for testing
| 43 | |
| 44 | // mockT implements TestT for testing |
| 45 | type mockT struct { |
| 46 | ErrorCalled bool |
| 47 | ErrorArgs []interface{} |
| 48 | FatalCalled bool |
| 49 | FatalArgs []interface{} |
| 50 | SkipCalled bool |
| 51 | SkipArgs []interface{} |
| 52 | |
| 53 | f bool |
| 54 | } |
| 55 | |
| 56 | func (t *mockT) Error(args ...interface{}) { |
| 57 | t.ErrorCalled = true |
nothing calls this directly
no outgoing calls
no test coverage detected