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

Function test_missing_context_up_context

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

Source from the content-addressed store, hash-verified

560
561 #[test]
562 fn test_missing_context_up_context() {
563 let pos = make_position(42, 100);
564 let change = NodeId::new(50);
565 let conflict = MissingContextConflict::predecessors(pos, change);
566
567 assert!(conflict.is_predecessor);
568 }
569
570 #[test]
571 fn test_missing_context_down_context() {

Callers

nothing calls this directly

Calls 1

make_positionFunction · 0.70

Tested by

no test coverage detected