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

Function test_parse_invalid_json

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected