text

fun Assert<File>.text(charset: Charset = Charsets.UTF_8): Assert<String>(source)

Returns an assert on the file's contents as text.