strikt-core / strikt.assertions / endsWith

endsWith

infix fun <T : CharSequence> Builder<T>.endsWith(expected: Char): Builder<T>

Asserts that the subject ends with the expected character.

infix fun <T : CharSequence> Builder<T>.endsWith(expected: CharSequence): Builder<T>

Asserts that the subject ends with the expected string.