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

Function test_error_display_session_not_found

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

Source from the content-addressed store, hash-verified

463
464 #[test]
465 fn test_error_display_session_not_found() {
466 let err = AgentError::SessionNotFound {
467 session_id: "2026-01-15-abc123".to_string(),
468 };
469 let msg = err.to_string();
470 assert!(msg.contains("2026-01-15-abc123"));
471 assert!(msg.contains("not found"));
472 }
473
474 #[test]
475 fn test_error_display_hook_parse_failed() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected