()
| 718 | |
| 719 | #[test] |
| 720 | fn test_from_json_error() { |
| 721 | let json_err = serde_json::from_str::<serde_json::Value>("not json").unwrap_err(); |
| 722 | let agent_err: AgentError = json_err.into(); |
| 723 | assert!(matches!(agent_err, AgentError::Json(_))); |
| 724 | } |
| 725 | |
| 726 | #[test] |
| 727 | fn test_error_is_send_sync() { |
nothing calls this directly
no outgoing calls
no test coverage detected