assertk.assertions / hasName

hasName

fun <ERROR CLASS><File>.hasName(expected: String): Unit

Platform and version requirements: JVM

Asserts the file has the expected name.