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

Function test_empty_session_id

atomic-core/src/change/envelope.rs:1052–1057  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1050
1051 #[test]
1052 fn test_empty_session_id() {
1053 let e = SessionEnvelope::builder("", "agent").build();
1054 let bytes = e.encode().unwrap();
1055 let decoded = SessionEnvelope::decode(&bytes).unwrap();
1056 assert_eq!(decoded.session_id, "");
1057 }
1058
1059 #[test]
1060 fn test_large_files_list() {

Callers

nothing calls this directly

Calls 4

decodeFunction · 0.50
buildMethod · 0.45
unwrapMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected