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

Function test_error_display_turn_not_active

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

Source from the content-addressed store, hash-verified

523
524 #[test]
525 fn test_error_display_turn_not_active() {
526 let err = AgentError::TurnNotActive {
527 session_id: "sess-1".to_string(),
528 };
529 let msg = err.to_string();
530 assert!(msg.contains("No active turn"));
531 assert!(msg.contains("sess-1"));
532 }
533
534 #[test]
535 fn test_error_display_session_conflict() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected