()
| 1442 | |
| 1443 | #[test] |
| 1444 | fn test_summarize_error() { |
| 1445 | let summary = summarize_tool_call( |
| 1446 | "edit", |
| 1447 | NodeKind::Error, |
| 1448 | None, |
| 1449 | Some("File not found: src/missing.rs"), |
| 1450 | Some("error"), |
| 1451 | ); |
| 1452 | assert_eq!(summary, "edit failed: File not found: src/missing.rs"); |
| 1453 | } |
| 1454 | |
| 1455 | #[test] |
| 1456 | fn test_summarize_error_no_output() { |
nothing calls this directly
no test coverage detected