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

Function test_parse_empty_input

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected