()
| 1171 | |
| 1172 | #[test] |
| 1173 | fn test_summarize_error() { |
| 1174 | let summary = summarize_tool_call( |
| 1175 | "edit", |
| 1176 | NodeKind::Error, |
| 1177 | None, |
| 1178 | Some("File not found: src/missing.rs"), |
| 1179 | Some("error"), |
| 1180 | ); |
| 1181 | assert_eq!(summary, "edit failed: File not found: src/missing.rs"); |
| 1182 | } |
| 1183 | |
| 1184 | #[test] |
| 1185 | fn test_summarize_error_no_output() { |
nothing calls this directly
no test coverage detected