PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
test(ui-egui): rerun the fontconfig tests by their platform:: path
aiongg7b3d688754b0
diff --git a/crates/ui-egui/src/platform/system_fonts/fontconfig.rs b/crates/ui-egui/src/platform/system_fonts/fontconfig.rsindex dbec74eae..243fec68d 100644--- a/crates/ui-egui/src/platform/system_fonts/fontconfig.rs+++ b/crates/ui-egui/src/platform/system_fonts/fontconfig.rs@@ -160,7 +160,7 @@ mod tests {fn isolated(&self, test: &str) {// Environment selection is process-global: never mutate it in a parallel harness.let output = std::process::Command::new(std::env::current_exe().unwrap())- .args(["--exact", &format!("system_fonts::fontconfig::tests::{test}"), "--nocapture"])+ .args(["--exact", &format!("platform::system_fonts::fontconfig::tests::{test}"), "--nocapture"]).env("FONTCONFIG_PATH", &self.0).env("FONTCONFIG_FILE", "fonts.conf").env("PDFCRAFT_FONTCONFIG_TEST_ROOT", &self.0)