- writeTapFields("not ok", testId.incrementAndGet(), "-", e.testName())
- // According to the TAP spec, as long as there is any kind of whitespace, this output should belong to the
- // the test that failed and it should get displayed in the UI.
- // TODO:It would be nice if we could report the exact line in the test where this happened.
- writeTapFields(" ", stackTraceForError(e.error()))
+ writeTap("not ok", testId.incrementAndGet, "-", e.testName)
+ // TODO: It would be nice if we could report the exact line in the test where this happened.
+ writeTapDiag(stackTraceForError(e.error))