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

Function test_missing_context_with_change

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

Source from the content-addressed store, hash-verified

829
830 #[test]
831 fn test_missing_context_with_change() {
832 let pos = Position::ROOT;
833 let change = NodeId::new(10);
834 let ctx = MissingContext::predecessors(pos).with_change(change);
835
836 assert_eq!(ctx.during_change, Some(change));
837 }
838
839 // Zombie Tests
840

Callers

nothing calls this directly

Calls 1

with_changeMethod · 0.45

Tested by

no test coverage detected