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

Function test_missing_context_up

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

Source from the content-addressed store, hash-verified

810
811 #[test]
812 fn test_missing_context_up() {
813 let pos = Position::new(NodeId::new(1), ChangePosition::new(0));
814 let ctx = MissingContext::predecessors(pos);
815
816 assert_eq!(ctx.position, pos);
817 assert!(ctx.is_predecessor);
818 assert!(ctx.during_change.is_none());
819 }
820
821 #[test]
822 fn test_missing_context_down() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected