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

Function test_error_display_session_conflict

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

Source from the content-addressed store, hash-verified

533
534 #[test]
535 fn test_error_display_session_conflict() {
536 let err = AgentError::SessionConflict {
537 existing: "sess-1".to_string(),
538 new_session: "sess-2".to_string(),
539 };
540 let msg = err.to_string();
541 assert!(msg.contains("sess-1"));
542 assert!(msg.contains("Concurrent session conflict"));
543 }
544
545 #[test]
546 fn test_error_display_envelope_codec() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected