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

Function test_finish_empty

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

Source from the content-addressed store, hash-verified

797
798 #[test]
799 fn test_finish_empty() {
800 let builder = RecordBuilder::new();
801 let recorded = builder.finish();
802
803 assert!(recorded.is_empty());
804 assert!(recorded.is_empty_contents());
805 assert_eq!(recorded.hunk_count(), 0);
806 }
807
808 #[test]
809 fn test_finish_with_data() {

Callers

nothing calls this directly

Calls 1

finishMethod · 0.45

Tested by

no test coverage detected