[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
+1 -1
View File
@@ -180,7 +180,7 @@ fun checkLog(wrapInEmptySuite: Boolean = true, body: SuiteContext.() -> Unit): S
val actualLog = sortingContext.replayInto(LoggingContext()).log val actualLog = sortingContext.replayInto(LoggingContext()).log
if (actualLog != expectedLog) { if (actualLog != expectedLog) {
return "Failed test structure check. Expected: ${expectedLog}; actual: ${actualLog}." return "Failed test structure check. Expected: \"${expectedLog}\"; actual: \"${actualLog}\"."
} }
else { else {
return "OK" return "OK"