[Gradle, native] Make tests tolerate to stacktrace format changes

The K/N compiler changed the way in which inline functions are shown
in stacktraces. When an exception is thrown from an inline function,
the stacktrace refers to a line in the body of the inline function
while in 1.3.7x it referred to a line when the inline function is called.

This patch gets rid of inline functions in the corresponding test
to make it independent on such changes in the stacktrace format.
This commit is contained in:
Ilya Matveev
2020-04-14 13:37:47 +07:00
parent a3a6c3f0d5
commit 0d9364c1dd
@@ -1605,7 +1605,7 @@ class NewMultiplatformIT : BaseGradleIT() {
"""
@Test
fun fail() {
error("FAILURE!")
throw IllegalStateException("FAILURE!")
}
""".trimIndent()
)