MCPcopy Create free account
hub / github.com/Wulf/create-rust-app / test_file_path_to_vec_string

Function test_file_path_to_vec_string

crates/qsync/src/utils.rs:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17#[test]
18fn test_file_path_to_vec_string() {
19 let path = std::path::Path::new("/home/user/path/to/file.rs");
20 let result = file_path_to_vec_string(path);
21 assert_eq!(result, vec!["", "Home", "User", "Path", "To", "File"]);
22}

Callers

nothing calls this directly

Calls 1

file_path_to_vec_stringFunction · 0.85

Tested by

no test coverage detected