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

Function test_extract_session_id_with_value

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

Source from the content-addressed store, hash-verified

1013
1014 #[test]
1015 fn test_extract_session_id_with_value() {
1016 let id = ClineHook::extract_session_id(Some("task-123".to_string()));
1017 assert_eq!(id, "task-123");
1018 }
1019
1020 #[test]
1021 fn test_extract_session_id_empty_generates_fallback() {

Callers

nothing calls this directly

Calls 1

extract_session_idFunction · 0.85

Tested by

no test coverage detected