aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-09-14 14:05:01 +0000
committerKian-Meng Ang <kianmeng@cpan.org>2022-09-14 14:05:01 +0000
commitf709dfd43a9031604646a4c96291388c43e36b8a (patch)
tree4b1c634019bfbc4e3982ae5f2c651169f588d0dc /tests
parentMerge pull request #875 from svenstaro/dependabot/cargo/chrono-humanize-0.2.2 (diff)
downloadminiserve-f709dfd43a9031604646a4c96291388c43e36b8a.tar.gz
miniserve-f709dfd43a9031604646a4c96291388c43e36b8a.zip
Fix typos
Found via `codespell -L crate`.
Diffstat (limited to 'tests')
-rw-r--r--tests/serve_request.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serve_request.rs b/tests/serve_request.rs
index 3f5eeff..b23f7e2 100644
--- a/tests/serve_request.rs
+++ b/tests/serve_request.rs
@@ -135,7 +135,7 @@ fn serves_requests_symlinks(
let broken = "symlink broken";
// Set up some basic symlinks:
- // to dir, to file, to non-existant location
+ // to dir, to file, to non-existent location
let orig = DIRECTORIES[0].strip_suffix("/").unwrap();
let link = server.path().join(dir.strip_suffix("/").unwrap());
symlink_dir(orig, link).expect("Couldn't create symlink");
@@ -166,7 +166,7 @@ fn serves_requests_symlinks(
}
// If following symlinks is deactivated, we can just skip this iteration as we assorted
- // above tht no entries in the listing can be found for symlinks in that case.
+ // above the no entries in the listing can be found for symlinks in that case.
if no_symlinks {
continue;
}