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

Function test_validate_session_id_empty

atomic-agent/src/turn/session.rs:1026–1029  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1024
1025 #[test]
1026 fn test_validate_session_id_empty() {
1027 let err = validate_session_id("").unwrap_err();
1028 assert!(matches!(err, AgentError::SessionIdInvalid { .. }));
1029 }
1030
1031 #[test]
1032 fn test_validate_session_id_path_traversal() {

Callers

nothing calls this directly

Calls 1

validate_session_idFunction · 0.85

Tested by

no test coverage detected