assertk.assertions / endsWith

endsWith

fun Assert<String>.endsWith(other: String, ignoreCase: Boolean = false): Unit

Platform and version requirements: Common

Asserts the string ends with the expected string.

Parameters

ignoreCase - true to compare ignoring case, the default if false.

See Also

startsWith