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

Function test_zombie_conflict_new

atomic-core/src/apply/conflict.rs:479–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477
478 #[test]
479 fn test_zombie_conflict_new() {
480 let node = make_vertex(42, 0, 10);
481 let zombie = ZombieConflict::new(node);
482
483 assert_eq!(zombie.node, node);
484 assert!(zombie.deleted_by.is_empty());
485 assert!(zombie.connected_by.is_empty());
486 assert!(zombie.inode.is_none());
487 }
488
489 #[test]
490 fn test_zombie_conflict_deleted_by() {

Callers

nothing calls this directly

Calls 1

make_vertexFunction · 0.70

Tested by

no test coverage detected