assertk.assertions / hasParent

hasParent

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

Platform and version requirements: JVM

Asserts the file has the expected parent path.