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

Function test_parse_empty_input

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

Source from the content-addressed store, hash-verified

1442
1443 #[test]
1444 fn test_parse_empty_input() {
1445 let hook = make_hook();
1446 assert!(hook.parse_event(HookType::TurnStart, b"").is_err());
1447 }
1448
1449 #[test]
1450 fn test_parse_invalid_json() {

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected