From 10a8156387a17b399926534b4b0693c739c066c6 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Tue, 27 Feb 2024 00:03:04 +0100 Subject: [PATCH] Attempt at fixing Windows test --- crates/uv/tests/pip_list.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/uv/tests/pip_list.rs b/crates/uv/tests/pip_list.rs index 5679bdcab8121..b2efe9d753efc 100644 --- a/crates/uv/tests/pip_list.rs +++ b/crates/uv/tests/pip_list.rs @@ -528,6 +528,8 @@ fn format_json() -> Result<()> { .copied() .chain(vec![ (search_workspace, replace_workspace), + // Windows.. + (search_workspace.replace("/", "\\/").as_str(), replace_workspace), (find_divider.as_str(), replace_divider.as_str()), (find_header.as_str(), replace_header.as_str()), (find_whitespace.as_str(), replace_whitespace.as_str()),