Skip to content

Commit e78a47c

Browse files
committed
Add more cases to the storage path test
1 parent 8da57a2 commit e78a47c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/eframe/src/native/file_storage.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ mod tests {
223223
#[test]
224224
fn naive_path_matches_directories() {
225225
use super::{directories_storage_dir, naive_storage_dir};
226-
for app_id in ["MyApp", "My App", "my_app", "my-app"] {
226+
for app_id in [
227+
"MyApp", "My App", "my_app", "my-app", "My.App", "my/app", "my:app", r"my\app",
228+
] {
227229
assert_eq!(directories_storage_dir(app_id), naive_storage_dir(app_id));
228230
}
229231
}

0 commit comments

Comments
 (0)