(format string, args ...any)
| 343 | } |
| 344 | |
| 345 | func (t *testingT) Errorf(format string, args ...any) { |
| 346 | t.mtx.Lock() |
| 347 | defer t.mtx.Unlock() |
| 348 | t.failed = true |
| 349 | t.errors = append(t.errors, fmt.Sprintf(format, args...)) |
| 350 | } |
| 351 | |
| 352 | func (t *testingT) FailNow() { |
| 353 | t.mtx.Lock() |
no test coverage detected