The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(web_chat): update test to use unicode escape instead of literal A
Steven Enamakel79f237b454a5
diff --git a/src/openhuman/web_chat/web_tests_part_01_tests.rs b/src/openhuman/web_chat/web_tests_part_01_tests.rsindex 05fb1914d4..e45492aaee 100644--- a/src/openhuman/web_chat/web_tests_part_01_tests.rs+++ b/src/openhuman/web_chat/web_tests_part_01_tests.rs@@ -259,11 +259,11 @@ fn extract_provider_error_detail_preserves_unknown_escapes() {// `\uXXXX` is better shown to the user as visible literal text than// silently mangled into a character nobody asked for. `\"` and `\\`// keep their existing meaning.- let raw = r#"provider API error: {"error":{"message":"quote \" hi and slash \\ then unicode A and \q \s \&"}}"#;+ let raw = r#"provider API error: {"error":{"message":"quote \" hi and slash \\ then unicode \u263A and \q \s \&"}}"#;let detail = extract_provider_error_detail(raw).expect("expected JSON message");assert!(detail.contains("quote \" hi"), "got: {detail:?}");assert!(detail.contains("slash \\ then"), "got: {detail:?}");- assert!(detail.contains(r"A"), "got: {detail:?}");+ assert!(detail.contains(r"\u263A"), "got: {detail:?}");assert!(detail.contains(r"\q"), "got: {detail:?}");assert!(detail.contains(r"\s"), "got: {detail:?}");assert!(detail.contains(r"\&"), "got: {detail:?}");