assertk.assertions / hasParent

hasParent

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

Platform and version requirements: JVM


fun Assert<File>.hasParent(expected: String): Unit

Asserts the file has the expected parent path.