This commit is contained in:
Andras Schmelczer 2025-02-24 22:25:03 +00:00
parent 5bde266c84
commit 5844e282e2
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -69,6 +69,7 @@ mod test {
#[test]
fn test_sanitize_path() {
assert_eq!(sanitize_path("/my/path/what?"), "/my/path/what");
assert_eq!(sanitize_path("file (1).md"), "file (1).md");
assert_eq!(sanitize_path("/my/path/\\\\:?"), "/my/path/_");
}