Skip to content

Commit

Permalink
Fix typo for doesNotExist
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored and evant committed Dec 3, 2024
1 parent 6ba5ed3 commit a69843f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assertk/src/jvmMain/kotlin/assertk/assertions/file.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fun Assert<File>.exists() = given { actual ->
}

/**
* Asserts the file does not exists.
* Asserts the file does not exist.
*/
fun Assert<File>.doesNotExist() = given { actual ->
if (!actual.exists()) return
Expand Down
2 changes: 1 addition & 1 deletion assertk/src/jvmMain/kotlin/assertk/assertions/path.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fun Assert<Path>.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
*/
Expand Down

0 comments on commit a69843f

Please sign in to comment.