diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/debugInformation/AbstractSteppingTest.kt b/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/debugInformation/AbstractSteppingTest.kt index cdb07d6d382..a43255ef502 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/debugInformation/AbstractSteppingTest.kt +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/codegen/debugInformation/AbstractSteppingTest.kt @@ -53,12 +53,12 @@ abstract class AbstractSteppingTest : AbstractDebugTest() { .dropWhile { !it.startsWith(LINENUMBER_PREFIX) } .drop(1) .map { it.drop(3).trim() } - .joinToString(" ") + .joinToString("\n") val actualLineNumbers = loggedItems .map { event -> "${(event as LocatableEvent).location().method()}:${event.location().lineNumber()}" } - TestCase.assertEquals(expectedLineNumbers, actualLineNumbers.joinToString(" ")) + TestCase.assertEquals(expectedLineNumbers, actualLineNumbers.joinToString("\n")) } }