mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
xtask: the packaged-site test requires the Gujarati face only when craft-fonts has it
This commit is contained in:
1 parent
4fd3d9f22d
commit
2ec410834b
1 file changed
+4
-1
@@ -248,7 +248,10 @@ mod tests {
|
||||
assert_eq!(sha256::hex(&bytes), row[6], "{SERVED_URL}{file} differs from the manifest");
|
||||
checked.push(e.family.to_owned());
|
||||
}
|
||||
assert!(checked.iter().any(|f| f == "Noto Sans Gujarati"), "the Gujarati face was not published: {checked:?}");
|
||||
// An older craft-fonts without the Gujarati face stays valid; one that has it must publish it.
|
||||
if manifest.lines().any(|l| l.starts_with("Noto Sans Gujarati | Regular |")) {
|
||||
assert!(checked.iter().any(|f| f == "Noto Sans Gujarati"), "the Gujarati face was not published: {checked:?}");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user