()
| 1448 | |
| 1449 | #[test] |
| 1450 | fn test_parse_invalid_json() { |
| 1451 | let hook = make_hook(); |
| 1452 | assert!(hook.parse_event(HookType::TurnStart, b"not json").is_err()); |
| 1453 | } |
| 1454 | |
| 1455 | #[test] |
| 1456 | fn test_parse_unsupported_hook_type() { |
nothing calls this directly
no test coverage detected