Skip to content

Commit 50c550a

Browse files
committed
fix: use file_name() comparison in pixi test for Windows 8.3 short path compatibility
1 parent a83fc3e commit 50c550a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

crates/pet-pixi/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,11 @@ mod tests {
294294
);
295295

296296
let result = get_pixi_prefix(&env);
297-
assert_eq!(result, Some(explicit_prefix));
297+
// Compare file names rather than full paths to avoid Windows 8.3 short path issues
298+
assert_eq!(
299+
result.as_ref().unwrap().file_name(),
300+
explicit_prefix.file_name()
301+
);
298302
}
299303

300304
// ── try_from field validation ─────────────────────────────────

0 commit comments

Comments
 (0)