()
| 635 | |
| 636 | #[test] |
| 637 | fn test_parse_empty_input() { |
| 638 | let hook = make_hook(); |
| 639 | let err = hook.parse_event(HookType::TurnEnd, b"").unwrap_err(); |
| 640 | assert!(matches!(err, AgentError::HookInputEmpty { .. })); |
| 641 | } |
| 642 | |
| 643 | #[test] |
| 644 | fn test_parse_invalid_json() { |
nothing calls this directly
no test coverage detected