strikt-core / strikt.assertions / containsIgnoringCase

containsIgnoringCase

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

Asserts that the subject contains a match for the expected regular expression regardless of case.

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

Asserts that the subject contains the expected substring regardless of case.