assertk / assertk.assertions / hasLineCount

hasLineCount

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

Asserts the string has the expected number of lines.