()
| 1967 | |
| 1968 | #[test] |
| 1969 | fn test_validate_session_id_valid() { |
| 1970 | assert!(validate_session_id("sess-abc-123").is_ok()); |
| 1971 | assert!(validate_session_id("2026-01-15-abc123de").is_ok()); |
| 1972 | assert!(validate_session_id("simple").is_ok()); |
| 1973 | assert!(validate_session_id("with_underscore").is_ok()); |
| 1974 | assert!(validate_session_id("with.dots").is_ok()); |
| 1975 | } |
| 1976 | |
| 1977 | #[test] |
| 1978 | fn test_validate_session_id_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected