Skip to content

Commit

Permalink
Test locations with ? or #
Browse files Browse the repository at this point in the history
Historically these were forbidden. The cases are interesting to test.
  • Loading branch information
findepi committed Feb 21, 2024
1 parent 9846884 commit b4e7678
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ private static Stream<Arguments> locations()
Arguments.of("s3:/test_dir", "test_file.txt", "s3:/test_dir/test_file.txt"),
Arguments.of("s3://test_dir", "test_file.txt", "s3://test_dir/test_file.txt"),
Arguments.of("s3://test_dir/", "test_file.txt", "s3://test_dir/test_file.txt"),
Arguments.of("s3://test_dir/", "location?", "s3://test_dir/location?"),
Arguments.of("s3://test_dir/", "location#", "s3://test_dir/location#"),
Arguments.of("s3://dir_with_space ", "test_file.txt", "s3://dir_with_space /test_file.txt"),
Arguments.of("s3://dir_with_double_space ", "test_file.txt", "s3://dir_with_double_space /test_file.txt"));
}
Expand Down

0 comments on commit b4e7678

Please sign in to comment.