From dac0d4c6e2569af18b9abe1126271d565bfddb11 Mon Sep 17 00:00:00 2001 From: THEtheChad <880190+THEtheChad@users.noreply.github.com> Date: Sun, 11 Oct 2026 01:59:03 +0000 Subject: [PATCH] test(engine): LRC-LIB-LIBFOLDERS normalize sync fixture paths Rebuild fixture path components with native separators so expected paths match directory scans on Windows, including files that have been removed. This is a prerequisite for Windows validation and overlaps the path-helper fix in upstream PR #660; it can be dropped once that change lands. Co-Authored-By: GPT-6 Astra --- crates/engine/src/tests_sync.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/engine/src/tests_sync.rs b/crates/engine/src/tests_sync.rs index 22dce0af8..28d7311f0 100644 --- a/crates/engine/src/tests_sync.rs +++ b/crates/engine/src/tests_sync.rs @@ -32,7 +32,9 @@ impl Scratch { Scratch(dir) } fn path(&self, rel: &str) -> String { - self.0.join(rel).to_string_lossy().to_string() + // Fixtures use `/`; rebuild components so expected paths match the native separators + // returned by directory scans, including for files that have already been removed. + self.0.join(rel).components().collect::().to_string_lossy().into_owned() } }