()
| 1056 | |
| 1057 | #[test] |
| 1058 | fn test_parse_event_invalid_json() { |
| 1059 | let result = make_hook().parse_event(HookType::TurnEnd, b"not-json"); |
| 1060 | assert!(matches!(result, Err(AgentError::HookParseFailed { .. }))); |
| 1061 | } |
| 1062 | |
| 1063 | #[test] |
| 1064 | fn test_detect_presence_with_local_codex_dir() { |
nothing calls this directly
no test coverage detected