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

Function test_resolve_path_simple

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

Source from the content-addressed store, hash-verified

58
59#[test]
60fn test_resolve_path_simple() {
61 let (dir, fs) = temp_fs();
62 let resolved = fs.resolve_path("file.txt").unwrap();
63 assert_eq!(resolved, dir.path().join("file.txt"));
64}
65
66#[test]
67fn test_resolve_path_nested() {

Callers

nothing calls this directly

Calls 3

temp_fsFunction · 0.85
unwrapMethod · 0.45
resolve_pathMethod · 0.45

Tested by

no test coverage detected