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

Function test_session_short_with_hyphens

atomic-agent/src/identity.rs:645–648  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

643
644 #[test]
645 fn test_session_short_with_hyphens() {
646 // Hyphens are not alphanumeric, so they're filtered out
647 assert_eq!(extract_session_short("a-b-c-d"), "abcd");
648 }
649
650 #[test]
651 fn test_session_short_only_special_chars() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected