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