strikt-jvm / strikt.java / strikt.api.Assertion.Builder / text

text

fun <T : File> Builder<T>.text(charset: Charset = Charsets.UTF_8): Builder<String>

Maps this assertion to an assertion on the complete text of the subject decoded using the provided charset.

Parameters

charset - the charset used to decode the content

See Also

readText