Skip to content

Commit 2b8e80b

Browse files
committed
fix(ios): Xcresult failure stacktrace. The first line is the message, not DocumentLocation
1 parent 8b5087f commit 2b8e80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/vendor-apple/base/src/main/kotlin/com/malinskiy/marathon/apple/listener/TestResultsListener.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ class TestResultsListener(
121121
1 -> {
122122
traces.getOrPut(matchingTests.first()) { StringBuilder() }
123123
.apply {
124+
appendLine(failureSummary.message)
124125
failureSummary.documentLocationInCreatingWorkspace?.let {
125126
if (it.url.isNotBlank()) {
126127
appendLine(it.url)
127128
}
128129
}
129-
appendLine(failureSummary.message)
130130
}
131131
}
132132

0 commit comments

Comments
 (0)