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

Function test_resolve_path_absolute

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

resolve_pathMethod · 0.45

Tested by

no test coverage detected