()
| 1467 | |
| 1468 | #[test] |
| 1469 | fn test_truncate_long_string() { |
| 1470 | let long = "a".repeat(100); |
| 1471 | let result = truncate_for_summary(&long, 20); |
| 1472 | assert!(result.ends_with("...")); |
| 1473 | assert!(result.len() <= 20); |
| 1474 | } |
| 1475 | |
| 1476 | #[test] |
| 1477 | fn test_truncate_multiline_uses_first_line() { |
nothing calls this directly
no test coverage detected