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

Function test_resolve_path_absolute

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

Source from the content-addressed store, hash-verified

1017
1018 #[test]
1019 fn test_resolve_path_absolute() {
1020 let init = Init::at_path("/absolute/path");
1021 // This will fail the exists check but should return the path
1022 let resolved = init.resolve_path();
1023 assert!(resolved.is_ok());
1024 assert_eq!(resolved.unwrap(), PathBuf::from("/absolute/path"));
1025 }
1026
1027 #[test]
1028 #[serial]

Callers

nothing calls this directly

Calls 1

resolve_pathMethod · 0.45

Tested by

no test coverage detected