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

Function test_parse_invalid_json

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

Source from the content-addressed store, hash-verified

588
589 #[test]
590 fn test_parse_invalid_json() {
591 let hook = make_hook();
592 assert!(hook.parse_event(HookType::TurnStart, b"not json").is_err());
593 }
594
595 #[test]
596 fn test_parse_unsupported_hook_type() {

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected