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