hasExtension

fun Assert<File>.hasExtension(expected: String)

Asserts the file has the expected extension.