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

Function test_merge_empty

atomic-core/src/output/repo/outcome.rs:589–597  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

587
588 #[test]
589 fn test_merge_empty() {
590 let mut outcome1 = OutputOutcome::new();
591 outcome1.record_file("a.rs", 100);
592
593 let outcome2 = OutputOutcome::new();
594 outcome1.merge(outcome2);
595
596 assert_eq!(outcome1.files_written(), 1);
597 }
598
599 // ------------------------------------------------------------------------
600 // Summary and Display Tests

Callers

nothing calls this directly

Calls 2

record_fileMethod · 0.45
mergeMethod · 0.45

Tested by

no test coverage detected