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

Function test_zombie_with_inode

atomic-core/src/apply/workspace.rs:855–866  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

853
854 #[test]
855 fn test_zombie_with_inode() {
856 let node = GraphNode::new(
857 NodeId::new(1),
858 ChangePosition::new(0),
859 ChangePosition::new(10),
860 );
861 let inode = Inode::new(42);
862 let zombie = Zombie::with_inode(node, inode);
863
864 assert_eq!(zombie.node, node);
865 assert_eq!(zombie.inode, Some(inode));
866 }
867
868 // Workspace Basic Tests
869

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected