Error implements testing.TB. Error is equivalent to Log followed by Fail.
(args ...any)
| 138 | |
| 139 | // Error implements testing.TB. Error is equivalent to Log followed by Fail. |
| 140 | func (t *fakeT) Error(args ...any) { |
| 141 | t.T.Helper() |
| 142 | t.T.Log(args...) |
| 143 | t.Fail() |
| 144 | } |
| 145 | |
| 146 | // Errorf implements testing.TB. Errorf is equivalent to Logf followed by Fail. |
| 147 | func (t *fakeT) Errorf(format string, args ...any) { |