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

Function test_append_empty_contents

atomic-core/src/record/builder.rs:660–666  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

658
659 #[test]
660 fn test_append_empty_contents() {
661 let mut builder = RecordBuilder::new();
662
663 let start = builder.append_contents(b"");
664 assert_eq!(start, 0);
665 assert_eq!(builder.contents_len(), 0);
666 }
667
668 #[test]
669 fn test_append_large_contents() {

Callers

nothing calls this directly

Calls 1

append_contentsMethod · 0.45

Tested by

no test coverage detected