test: stabilize app-server path assertions on Windows

This commit is contained in:
Michael Bolin
2026-04-25 15:57:32 -07:00
parent f41306b4f3
commit 82613053f3
4 changed files with 37 additions and 13 deletions
+3 -4
View File
@@ -278,10 +278,9 @@ mod tests {
let expected_source = source_root.path().canonicalize()?.display().to_string();
assert_eq!(result.marketplace_name, "debug");
assert_eq!(result.source_display, expected_source);
assert_eq!(
result.installed_root.as_path(),
source_root.path().canonicalize()?
);
let expected_installed_root =
AbsolutePathBuf::from_absolute_path(source_root.path().canonicalize()?)?;
assert_eq!(result.installed_root, expected_installed_root);
assert!(!result.already_added);
assert!(
!marketplace_install_root(codex_home.path())