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

Function test_empty_session_id

atomic-agent/src/envelope.rs:1057–1062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1055
1056 #[test]
1057 fn test_empty_session_id() {
1058 let e = SessionEnvelope::builder("", "agent").build();
1059 let bytes = e.encode().unwrap();
1060 let decoded = SessionEnvelope::decode(&bytes).unwrap();
1061 assert_eq!(decoded.session_id, "");
1062 }
1063
1064 #[test]
1065 fn test_large_files_list() {

Callers

nothing calls this directly

Calls 3

encodeMethod · 0.80
buildMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected