aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2022-09-15 06:47:12 +0000
committerGitHub <noreply@github.com>2022-09-15 06:47:12 +0000
commit2648e6b1a579d0e0e5c36fea0b13fb74bc59c889 (patch)
treea2ca2595f95fbad4f4213f017391602affcc0b2d /tests
parentBump deps (diff)
parentFix typos (diff)
downloadminiserve-2648e6b1a579d0e0e5c36fea0b13fb74bc59c889.tar.gz
miniserve-2648e6b1a579d0e0e5c36fea0b13fb74bc59c889.zip
Merge pull request #902 from kianmeng/fix-typos
Fix typos
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 aa57a9b..f376469 100644
--- a/tests/serve_request.rs
+++ b/tests/serve_request.rs
@@ -138,7 +138,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");
@@ -169,7 +169,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;
}