From 8a5468e6eb431fb1fa52c8d35a608d6819026255 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 29 Nov 2026 03:25:25 -0500 Subject: [PATCH] fix(pdfcraft): pass None to socket_path() in Windows unit test (#8657) --- apps/pdfcraft/src/single_instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pdfcraft/src/single_instance.rs b/apps/pdfcraft/src/single_instance.rs index af3a7e4d64..f6e68e91d1 100644 --- a/apps/pdfcraft/src/single_instance.rs +++ b/apps/pdfcraft/src/single_instance.rs @@ -482,7 +482,7 @@ mod tests { let id = super::session_id(); assert!(id.is_some(), "the access token names the session"); let name = socket_name(id, None); - assert!(socket_path().is_none_or(|p| p.file_name().is_some_and(|f| f.to_string_lossy().ends_with(&name))), "{name}"); + assert!(socket_path(None).is_none_or(|p| p.file_name().is_some_and(|f| f.to_string_lossy().ends_with(&name))), "{name}"); } #[cfg(any(windows, all(unix, not(target_os = "macos"))))]