From 31f3fbcd780ad7c4f06fbf9631c992101a8a0ae3 Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Thu, 10 Nov 2022 21:47:49 +0100 Subject: [PATCH] [JS, Wasm] Improve readability of the message printed for failed tests for kotlin.test --- js/js.translator/testData/box/kotlin.test/_common.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/js.translator/testData/box/kotlin.test/_common.kt b/js/js.translator/testData/box/kotlin.test/_common.kt index 5833eec7537..50a9324835e 100644 --- a/js/js.translator/testData/box/kotlin.test/_common.kt +++ b/js/js.translator/testData/box/kotlin.test/_common.kt @@ -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" } -} \ No newline at end of file +}