Fatal implements testing.TB. Fatal is equivalent to Log followed by FailNow.
(args ...any)
| 182 | |
| 183 | // Fatal implements testing.TB. Fatal is equivalent to Log followed by FailNow. |
| 184 | func (t *fakeT) Fatal(args ...any) { |
| 185 | t.T.Helper() |
| 186 | t.T.Log(args...) |
| 187 | t.FailNow() |
| 188 | } |
| 189 | |
| 190 | // Fatalf implements testing.TB. Fatalf is equivalent to Logf followed by |
| 191 | // FailNow. |