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

Function test_from_root_pathbuf

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

Source from the content-addressed store, hash-verified

32
33#[test]
34fn test_from_root_pathbuf() {
35 let path = PathBuf::from("/another/path");
36 let fs = FileSystem::from_root(&path);
37 assert_eq!(fs.root(), Path::new("/another/path"));
38}
39
40#[test]
41fn test_clone() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected