()
| 996 | |
| 997 | #[test] |
| 998 | fn test_parse_extra_fields_ignored() { |
| 999 | let hook = make_hook(); |
| 1000 | let input = br#"{"session_id": "s1", "unknown_field": 42, "another": "value"}"#; |
| 1001 | let event = hook.parse_event(HookType::TurnEnd, input).unwrap(); |
| 1002 | assert_eq!(event.session_id, "s1"); |
| 1003 | } |
| 1004 | |
| 1005 | // verb_to_hook_type tests |
| 1006 |
nothing calls this directly
no test coverage detected