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

Function test_insert_stats_has_conflicts

atomic-repository/src/apply/tests.rs:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62#[test]
63fn test_insert_stats_has_conflicts() {
64 let mut stats = InsertStats::new();
65 assert!(!stats.has_conflicts());
66
67 stats.conflicts_detected = 1;
68 assert!(stats.has_conflicts());
69}
70
71#[test]
72fn test_insert_stats_merge() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected