Debug information test: make stepping information more readable.
This commit is contained in:
committed by
Ilmir Usmanov
parent
331b085b2f
commit
e49431a12c
+2
-2
@@ -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"))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user