()
| 512 | |
| 513 | #[test] |
| 514 | fn test_error_display_agent_not_found() { |
| 515 | let err = AgentError::AgentNotFound { |
| 516 | name: "cursor".to_string(), |
| 517 | available: "claude-code, gemini-cli, codex, opencode".to_string(), |
| 518 | }; |
| 519 | let msg = err.to_string(); |
| 520 | assert!(msg.contains("cursor")); |
| 521 | assert!(msg.contains("claude-code")); |
| 522 | } |
| 523 | |
| 524 | #[test] |
| 525 | fn test_error_display_turn_not_active() { |
nothing calls this directly
no outgoing calls
no test coverage detected