strikt-core / strikt.assertions / lines

lines

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

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

Parameters

charset - the charset used to decode the content

See Also

readLines