From a69843f4452d2cf83bb6a787b138f8d90cfc3f90 Mon Sep 17 00:00:00 2001 From: Zongle Wang Date: Tue, 3 Dec 2024 11:58:35 +0800 Subject: [PATCH] Fix typo for doesNotExist --- assertk/src/jvmMain/kotlin/assertk/assertions/file.kt | 2 +- assertk/src/jvmMain/kotlin/assertk/assertions/path.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assertk/src/jvmMain/kotlin/assertk/assertions/file.kt b/assertk/src/jvmMain/kotlin/assertk/assertions/file.kt index 16e8bd14..7b23c1a5 100644 --- a/assertk/src/jvmMain/kotlin/assertk/assertions/file.kt +++ b/assertk/src/jvmMain/kotlin/assertk/assertions/file.kt @@ -47,7 +47,7 @@ fun Assert.exists() = given { actual -> } /** - * Asserts the file does not exists. + * Asserts the file does not exist. */ fun Assert.doesNotExist() = given { actual -> if (!actual.exists()) return diff --git a/assertk/src/jvmMain/kotlin/assertk/assertions/path.kt b/assertk/src/jvmMain/kotlin/assertk/assertions/path.kt index d093a986..dc64cc93 100644 --- a/assertk/src/jvmMain/kotlin/assertk/assertions/path.kt +++ b/assertk/src/jvmMain/kotlin/assertk/assertions/path.kt @@ -101,7 +101,7 @@ fun Assert.exists(vararg options: LinkOption) = given { actual -> } /** - * Assert that the path does not exists. + * Assert that the path does not exist. * * @param options indicating how symbolic links are handled */