maybe in soft assertions the stacktrace for the sp...
# strikt
c
maybe in soft assertions the stacktrace for the specific failure should be for the line of the assertion and not for the line that contains the expect.
Copy code
@Test
    fun striktTest() {
        expect {
            that("test").isNotEqualTo("test")
            that("test").isEqualTo("test")
        }
    }
for this i get two stacktraces and both are for the expect line
r
I’m not sure I can control that
c
You can create the exception when the assertion fails
You’re not throwing it anyway, only the expect exception is really thrown.
r
Fair point.
c
Is that a small change? Btw are you still working on refactoring the internal api?
r
Not at the moment