assertk.assertions / hasLineCount

hasLineCount

fun Assert<String>.hasLineCount(lineCount: Int): Unit

Platform and version requirements: Common

Asserts the string has the expected number of lines.