()
| 1013 | |
| 1014 | #[test] |
| 1015 | fn test_parse_post_tool_minimal() { |
| 1016 | let hook = make_hook(); |
| 1017 | let input = br#"{"conversation_id": "c1"}"#; |
| 1018 | let event = hook.parse_event(HookType::PostToolUse, input).unwrap(); |
| 1019 | assert!(event.tool_name.is_none()); |
| 1020 | assert!(event.tool_use_id.is_none()); |
| 1021 | } |
| 1022 | |
| 1023 | // parse_event tests: afterAgentThought (PostToolUse with "text") |
| 1024 |
nothing calls this directly
no test coverage detected