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

Source from the content-addressed store, hash-verified

1018
1019 #[test]
1020 fn test_extract_session_id_with_value() {
1021 let id = ClineHook::extract_session_id(Some("task-123".to_string()));
1022 assert_eq!(id, "task-123");
1023 }
1024
1025 #[test]
1026 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