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

Function test_summarize_error

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

summarize_tool_callFunction · 0.85

Tested by

no test coverage detected