()
| 548 | |
| 549 | #[test] |
| 550 | fn test_missing_context_new() { |
| 551 | let pos = make_position(42, 100); |
| 552 | let change = NodeId::new(50); |
| 553 | let conflict = MissingContextConflict::new(pos, true, change); |
| 554 | |
| 555 | assert_eq!(conflict.position, pos); |
| 556 | assert!(conflict.is_predecessor); |
| 557 | assert_eq!(conflict.during_change, change); |
| 558 | assert!(conflict.expected_change.is_none()); |
| 559 | } |
| 560 | |
| 561 | #[test] |
| 562 | fn test_missing_context_up_context() { |
nothing calls this directly
no test coverage detected