fix(pdfcraft): pass None to socket_path() in Windows unit test (#8657)

This commit is contained in:
Dylan M. Taylor authored and GitHub committed 2026-11-29 03:25:25 -05:00
1 parent 1e8fbce219
commit 8a5468e6eb
1 file changed
+1 -1
+1 -1
View File
@@ -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"))))]