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"))))]