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

allLines

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

Maps this assertion to an assertion over all lines of this subject path decoded using the provided charset.

Parameters

charset - the charset to use in decoding

See Also

Files.readAllLines