()
| 957 | |
| 958 | #[test] |
| 959 | fn test_truncate_string_unicode() { |
| 960 | let result = truncate_string("Hello 世界!", 10); |
| 961 | assert_eq!(result, "Hello 世界!"); |
| 962 | |
| 963 | let result2 = truncate_string("Hello 世界!", 8); |
| 964 | assert!(result2.ends_with("...")); |
| 965 | } |
| 966 | |
| 967 | #[test] |
| 968 | fn test_json_provenance_surfaces_agent_context_fields() { |
nothing calls this directly
no test coverage detected