diff --git a/okio-testing-support/src/commonMain/kotlin/okio/AbstractFileSystemTest.kt b/okio-testing-support/src/commonMain/kotlin/okio/AbstractFileSystemTest.kt index 0ec8bae427..3fbe32156f 100644 --- a/okio-testing-support/src/commonMain/kotlin/okio/AbstractFileSystemTest.kt +++ b/okio-testing-support/src/commonMain/kotlin/okio/AbstractFileSystemTest.kt @@ -1114,15 +1114,8 @@ abstract class AbstractFileSystemTest( @Test fun deleteFailsOnNoSuchFileIfMustExist() { val path = base / "no-such-file" - // TODO(jwilson): fix Windows to throw FileNotFoundException on deleting an absent file. - if (windowsLimitations) { - assertFailsWith { - fileSystem.delete(path, mustExist = true) - } - } else { - assertFailsWith { - fileSystem.delete(path, mustExist = true) - } + assertFailsWith { + fileSystem.delete(path, mustExist = true) } }