#1309: the font-manager path test runs on Unix only (its paths aren't absolute on Windows)

This commit is contained in:
bflatastic
2026-10-26 22:19:46 +07:00
parent 0ef1156f1f
commit f89f656d16
+2
View File
@@ -441,6 +441,8 @@ fn every_platform_has_a_thai_font_in_the_fallbacks() {
}
}
// The paths are Unix absolute paths (font managers are a macOS thing): on Windows they aren't absolute.
#[cfg(unix)]
#[test]
fn font_manager_files_outside_the_font_folders_are_indexed_once() {
let folders = [std::path::PathBuf::from("/Library/Fonts"), std::path::PathBuf::from("/Users/a/Library/Fonts")];