From 092b6195423134763db638652dfb3e31b46d7277 Mon Sep 17 00:00:00 2001 From: Jonas Diemer Date: Wed, 17 Aug 2022 10:30:00 +0200 Subject: Test dir with starting - --- tests/upload_files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/upload_files.rs') 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"])] -- cgit v1.2.3