LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
test(engine): LRC-LIB-LIBFOLDERS normalize sync fixture paths
THEtheChaddac0d4c6e256
diff --git a/crates/engine/src/tests_sync.rs b/crates/engine/src/tests_sync.rsindex 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::<PathBuf>().to_string_lossy().into_owned()}}