()
| 1180 | |
| 1181 | #[test] |
| 1182 | fn test_truncate_result_long() { |
| 1183 | let s = "x".repeat(MAX_TOOL_RESULT_BYTES + 100); |
| 1184 | let result = truncate_result(&s); |
| 1185 | assert!(result.contains("truncated")); |
| 1186 | assert!(result.len() < s.len() + 100); |
| 1187 | } |
| 1188 | |
| 1189 | #[test] |
| 1190 | fn test_preview_short() { |
nothing calls this directly
no test coverage detected