assertk / assertk.assertions / hasName

hasName

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

Asserts the file has the expected name.