Skip to content

Commit

Permalink
feat(apple): support multi failure summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed Nov 8, 2024
1 parent b0a4f40 commit 8dea79a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ class TestRunResultsAccumulator(private val timer: Timer) {
r = TemporalTestResult(startTime = timer.currentTimeMillis())
}
r.status = status
if (r.stackTrace == null) {
//ignore stack trace overrides
if (!trace.isNullOrBlank()) {
r.stackTrace = trace
}
startTime?.let { r.startTime = it }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class TestResultsListener(
traces.forEach { (test, traceBuilder) ->
runResult.testFailed(
test,
trace = traceBuilder.toString()
trace = traceBuilder.toString().trim()
)
}
}.let {
Expand Down

0 comments on commit 8dea79a

Please sign in to comment.