From 01c419bb57193d25536eef6ab91791f8e286cafe Mon Sep 17 00:00:00 2001 From: Chummy Date: Tue, 17 Feb 2026 21:50:08 +0800 Subject: [PATCH] test(providers): keep unicode boundary test in English text --- src/providers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/mod.rs b/src/providers/mod.rs index 1622280..e18e789 100644 --- a/src/providers/mod.rs +++ b/src/providers/mod.rs @@ -965,7 +965,7 @@ mod tests { #[test] fn sanitize_preserves_unicode_boundaries() { - let input = format!("{} sk-abcdef123", "こんにちは".repeat(80)); + let input = format!("{} sk-abcdef123", "hello🙂".repeat(80)); let result = sanitize_api_error(&input); assert!(std::str::from_utf8(result.as_bytes()).is_ok()); assert!(!result.contains("sk-abcdef123"));