MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_resolve_path_nested

Function test_resolve_path_nested

atomic-core/src/output/filesystem/tests.rs:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66#[test]
67fn test_resolve_path_nested() {
68 let (dir, fs) = temp_fs();
69 let resolved = fs.resolve_path("a/b/c.txt").unwrap();
70 assert_eq!(resolved, dir.path().join("a/b/c.txt"));
71}
72
73#[test]
74fn test_resolve_path_with_dot() {

Callers

nothing calls this directly

Calls 3

temp_fsFunction · 0.85
unwrapMethod · 0.45
resolve_pathMethod · 0.45

Tested by

no test coverage detected