()
| 675 | |
| 676 | #[test] |
| 677 | fn test_block_not_found_error() { |
| 678 | let pos = Position { |
| 679 | change: NodeId::new(42), |
| 680 | pos: ChangePosition::new(100), |
| 681 | }; |
| 682 | let error = LocalApplyError::BlockNotFound { position: pos }; |
| 683 | |
| 684 | match error { |
| 685 | LocalApplyError::BlockNotFound { position } => { |
| 686 | assert_eq!(position.change, NodeId::new(42)); |
| 687 | } |
| 688 | _ => panic!("Wrong error type"), |
| 689 | } |
| 690 | } |
| 691 | } |
nothing calls this directly
no outgoing calls
no test coverage detected