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

Function test_error_display_record_failed

atomic-agent/src/error.rs:488–498  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

486
487 #[test]
488 fn test_error_display_record_failed() {
489 let err = AgentError::RecordFailed {
490 session_id: "sess-1".to_string(),
491 turn_number: 3,
492 reason: "no tracked files".to_string(),
493 };
494 let msg = err.to_string();
495 assert!(msg.contains("turn 3"));
496 assert!(msg.contains("sess-1"));
497 assert!(msg.contains("no tracked files"));
498 }
499
500 #[test]
501 fn test_error_display_config_error() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected