mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-27 11:56:50 -06:00
#1309: the font-manager path test runs on Unix only (its paths aren't absolute on Windows)
This commit is contained in:
@@ -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")];
|
||||
|
||||
Reference in New Issue
Block a user