()
| 1196 | |
| 1197 | #[test] |
| 1198 | fn test_truncate_long_string() { |
| 1199 | let long = "a".repeat(100); |
| 1200 | let result = truncate_for_summary(&long, 20); |
| 1201 | assert!(result.ends_with("...")); |
| 1202 | assert!(result.len() <= 20); |
| 1203 | } |
| 1204 | |
| 1205 | #[test] |
| 1206 | fn test_truncate_multiline_uses_first_line() { |
nothing calls this directly
no test coverage detected