mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
Update mod.rs
This commit is contained in:
1 parent
6cb5b2909c
commit
f49f6aa0ec
1 file changed
+1
-1
@@ -389,7 +389,7 @@ mod tests {
|
||||
let ar = AR();
|
||||
assert_eq!(ar.name(), "العربية");
|
||||
assert!(ar.complete_menus());
|
||||
for tag in ["ar", "AR", "ar-SA", "ar_EG", "ar_EG.UTF-8", "ar-AE"] {
|
||||
for tag in ["ar", "AR", "ar-SA", "ar_EG", "ar_MA", "ar-AE"] {
|
||||
assert_eq!(lang_from_tag(tag), Some(ar), "{tag}");
|
||||
assert_eq!(Lang::from_pref(tag), ar, "{tag}");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user