Update stepping tests to inspect source name, instead of method info.
This commit is contained in:
committed by
max-kammerer
parent
5dc1651a44
commit
b71b0fa32c
+2
-1
@@ -56,7 +56,8 @@ abstract class AbstractSteppingTest : AbstractDebugTest() {
|
||||
.joinToString("\n")
|
||||
val actualLineNumbers = loggedItems
|
||||
.map { event ->
|
||||
"${(event as LocatableEvent).location().method()}:${event.location().lineNumber()}"
|
||||
val location = (event as LocatableEvent).location()
|
||||
"${location.sourceName()}:${location.lineNumber()}"
|
||||
}
|
||||
TestCase.assertEquals(expectedLineNumbers, actualLineNumbers.joinToString("\n"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user