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

Source from the content-addressed store, hash-verified

1080
1081 #[test]
1082 fn test_validate_session_id_empty() {
1083 let err = validate_session_id("").unwrap_err();
1084 assert!(matches!(err, AgentError::SessionIdInvalid { .. }));
1085 }
1086
1087 #[test]
1088 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