test: run the live preview dedup test on Unix only

The preview comes from the Unix helper's streaming walk. On Windows
serve sends a finished tree with no preview, so the test's unwrap
failed there. It was hidden on main because cargo test stops at the
first failing test binary, which was the app's.
This commit is contained in:
Harold Hunt
2026-10-23 22:03:33 -04:00
parent 3b972817c8
commit cc026ea761
+3
View File
@@ -1205,6 +1205,9 @@ mod tests {
assert_eq!(shared.lock().unwrap().stage, Stage::Finalizing);
}
// The live preview this checks comes from the Unix helper's streaming
// walk; on other systems `serve` sends a finished tree with no preview.
#[cfg(unix)]
#[test]
fn desktop_dedup_counts_links_once_without_requiring_external_names() {
let dir = tempfile::tempdir().unwrap();