()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected