()
| 710 | |
| 711 | #[test] |
| 712 | fn test_from_io_error() { |
| 713 | let io_err = std::io::Error::new(std::io::ErrorKind::NotFound, "file not found"); |
| 714 | let agent_err: AgentError = io_err.into(); |
| 715 | assert!(matches!(agent_err, AgentError::Io(_))); |
| 716 | assert!(agent_err.to_string().contains("file not found")); |
| 717 | } |
| 718 | |
| 719 | #[test] |
| 720 | fn test_from_json_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected