MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_parse_event_empty_input

Function test_parse_event_empty_input

atomic-agent/src/hooks/codex.rs:1052–1055  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1050
1051 #[test]
1052 fn test_parse_event_empty_input() {
1053 let result = make_hook().parse_event(HookType::TurnEnd, b"");
1054 assert!(matches!(result, Err(AgentError::HookInputEmpty { .. })));
1055 }
1056
1057 #[test]
1058 fn test_parse_event_invalid_json() {

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
parse_eventMethod · 0.45

Tested by

no test coverage detected