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

Function test_parse_empty_input

atomic-agent/src/hooks/agy.rs:581–584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579
580 #[test]
581 fn test_parse_empty_input() {
582 let hook = make_hook();
583 assert!(hook.parse_event(HookType::TurnStart, b"").is_err());
584 }
585
586 #[test]
587 fn test_parse_invalid_json() {

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected