()
| 499 | |
| 500 | #[test] |
| 501 | fn test_error_display_config_error() { |
| 502 | let err = AgentError::ConfigError { |
| 503 | operation: "write".to_string(), |
| 504 | path: PathBuf::from(".claude/settings.json"), |
| 505 | reason: "permission denied".to_string(), |
| 506 | }; |
| 507 | let msg = err.to_string(); |
| 508 | assert!(msg.contains("write")); |
| 509 | assert!(msg.contains(".claude/settings.json")); |
| 510 | assert!(msg.contains("permission denied")); |
| 511 | } |
| 512 | |
| 513 | #[test] |
| 514 | fn test_error_display_agent_not_found() { |
nothing calls this directly
no outgoing calls
no test coverage detected