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:1012–1015  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1010
1011 #[test]
1012 fn test_extract_session_id_with_value() {
1013 let id = ClineHook::extract_session_id(Some("task-123".to_string()));
1014 assert_eq!(id, "task-123");
1015 }
1016
1017 #[test]
1018 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