MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_summarize_error

Function test_summarize_error

atomic-agent/src/provenance/classify.rs:1444–1453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

summarize_tool_callFunction · 0.85

Tested by

no test coverage detected