From 7dca6cb44a4fbad3e20f0ed94e0fe67740d41773 Mon Sep 17 00:00:00 2001 From: Matthew Zeng Date: Wed, 18 Mar 2026 23:58:09 -0700 Subject: [PATCH] update --- codex-rs/i18n/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codex-rs/i18n/src/lib.rs b/codex-rs/i18n/src/lib.rs index d9c7b11012..2963e17103 100644 --- a/codex-rs/i18n/src/lib.rs +++ b/codex-rs/i18n/src/lib.rs @@ -311,7 +311,7 @@ mod tests { #[test] fn unsupported_explicit_locale_falls_back_to_default() { assert_eq!( - resolve_locale_with_system(Some("fr-FR"), Some("zh-CN")).expect("resolve locale"), + resolve_locale_with_system(Some("zu-ZA"), Some("zh-CN")).expect("resolve locale"), DEFAULT_LOCALE ); } @@ -335,7 +335,7 @@ mod tests { #[test] fn unsupported_system_locale_falls_back_to_default() { assert_eq!( - resolve_locale_with_system(None, Some("fr-FR")).expect("resolve locale"), + resolve_locale_with_system(None, Some("zu-ZA")).expect("resolve locale"), DEFAULT_LOCALE ); } @@ -383,7 +383,7 @@ mod tests { let english = format_message("en-US", "approval-option-allow", &[]); assert_eq!( - format_message("fr-FR", "approval-option-allow", &[]), + format_message("zu-ZA", "approval-option-allow", &[]), english ); } @@ -391,7 +391,7 @@ mod tests { #[test] fn format_message_returns_message_id_when_message_is_missing() { assert_eq!( - format_message("fr-FR", "approval-option-missing", &[]), + format_message("zu-ZA", "approval-option-missing", &[]), "approval-option-missing".to_string() ); }