()
| 812 | |
| 813 | #[test] |
| 814 | fn test_parse_pre_tool_minimal() { |
| 815 | let hook = make_hook(); |
| 816 | let input = br#"{"taskId": "tool-3"}"#; |
| 817 | let event = hook.parse_event(HookType::PreToolUse, input).unwrap(); |
| 818 | assert!(event.tool_name.is_none()); |
| 819 | } |
| 820 | |
| 821 | #[test] |
| 822 | fn test_parse_pre_tool_snake_case_tool_names() { |
nothing calls this directly
no test coverage detected