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

Function test_undeletion_flag_transition

atomic-core/src/apply/edge.rs:808–814  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

806
807 #[test]
808 fn test_undeletion_flag_transition() {
809 let previous = EdgeFlags::BLOCK | EdgeFlags::DELETED;
810 let new_flag = EdgeFlags::BLOCK;
811
812 assert!(previous.contains(EdgeFlags::DELETED));
813 assert!(!new_flag.contains(EdgeFlags::DELETED));
814 }
815
816 #[test]
817 fn test_folder_deletion() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected