[JS, Wasm] Improve readability of the message printed for failed tests for kotlin.test
This commit is contained in:
+2
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user