[JS, Wasm] Improve readability of the message printed for failed tests for kotlin.test

This commit is contained in:
Zalim Bashorov
2022-11-10 21:47:49 +01:00
parent 5dd188f2cd
commit 31f3fbcd78
+2 -2
View File
@@ -180,9 +180,9 @@ fun checkLog(wrapInEmptySuite: Boolean = true, body: SuiteContext.() -> Unit): S
val actualLog = sortingContext.replayInto(LoggingContext()).log
if (actualLog != expectedLog) {
return "Failed test structure check. Expected: ${expectedLog}; actual: ${actualLog}."
return "Failed test structure check. Expected: \"${expectedLog}\"; actual: \"${actualLog}\"."
}
else {
return "OK"
}
}
}