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

Function test_resolve_path_absolute

atomic-cli/src/commands/init.rs:1032–1038  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1030
1031 #[test]
1032 fn test_resolve_path_absolute() {
1033 let init = Init::at_path("/absolute/path");
1034 // This will fail the exists check but should return the path
1035 let resolved = init.resolve_path();
1036 assert!(resolved.is_ok());
1037 assert_eq!(resolved.unwrap(), PathBuf::from("/absolute/path"));
1038 }
1039
1040 #[test]
1041 #[serial]

Callers

nothing calls this directly

Calls 1

resolve_pathMethod · 0.45

Tested by

no test coverage detected