()
| 869 | |
| 870 | #[test] |
| 871 | fn test_truncate_string_unicode() { |
| 872 | let result = truncate_string("Hello 世界!", 10); |
| 873 | assert_eq!(result, "Hello 世界!"); |
| 874 | |
| 875 | let result2 = truncate_string("Hello 世界!", 8); |
| 876 | assert!(result2.ends_with("...")); |
| 877 | } |
| 878 | |
| 879 | #[test] |
| 880 | fn test_json_provenance_surfaces_agent_context_fields() { |
nothing calls this directly
no test coverage detected