aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJonas Diemer <jonasdiemer@gmail.com>2022-08-17 08:30:00 +0000
committerJonas Diemer <jonasdiemer@gmail.com>2022-09-18 18:26:55 +0000
commit092b6195423134763db638652dfb3e31b46d7277 (patch)
tree6bf80bf2c98e8460ad08f86b869085fa079da689 /tests
parentcargo fmt (diff)
downloadminiserve-092b6195423134763db638652dfb3e31b46d7277.tar.gz
miniserve-092b6195423134763db638652dfb3e31b46d7277.zip
Test dir with starting -
Diffstat (limited to 'tests')
-rw-r--r--tests/upload_files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/upload_files.rs b/tests/upload_files.rs
index ecb7ddf..63374a2 100644
--- a/tests/upload_files.rs
+++ b/tests/upload_files.rs
@@ -118,7 +118,7 @@ fn uploading_files_is_restricted(#[case] server: TestServer) -> Result<(), Error
/// This tests that we can upload files to the directory specified by --allow-upload-dir
#[rstest]
#[case(server(&["-u", "someDir"]), vec!["someDir"])]
-#[case(server(&["-u", "./someDir"]), vec!["./someDir"])]
+#[case(server(&["-u", "./-someDir"]), vec!["./-someDir"])]
#[case(server(&["-u", "someDir/some_sub_dir"]), vec!["someDir/some_sub_dir"])]
#[case(server(&["-u", "someDir/some_sub_dir", "-u", "someDir/some_other_dir"]),
vec!["someDir/some_sub_dir", "someDir/some_other_dir"])]