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

Function test_parse_minimal_input

atomic-agent/src/hooks/cline.rs:939–945  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

937
938 #[test]
939 fn test_parse_minimal_input() {
940 let hook = make_hook();
941 let input = br#"{}"#;
942 let event = hook.parse_event(HookType::SessionStart, input).unwrap();
943 // Should generate a fallback session ID
944 assert!(event.session_id.starts_with("cline-"));
945 }
946
947 // ── verb_to_hook_type tests ─────────────────────────────────────
948

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected