()
| 932 | |
| 933 | #[test] |
| 934 | fn test_parse_invalid_json() { |
| 935 | let hook = make_hook(); |
| 936 | let result = hook.parse_event(HookType::SessionStart, b"not json"); |
| 937 | assert!(result.is_err()); |
| 938 | } |
| 939 | |
| 940 | #[test] |
| 941 | fn test_parse_missing_session_id_defaults() { |
nothing calls this directly
no test coverage detected