()
| 712 | |
| 713 | #[test] |
| 714 | fn test_block_not_found_error() { |
| 715 | let pos = make_internal_position(NodeId::new(42), 100); |
| 716 | let error = LocalApplyError::BlockNotFound { position: pos }; |
| 717 | |
| 718 | match error { |
| 719 | LocalApplyError::BlockNotFound { position } => { |
| 720 | assert_eq!(position.change, NodeId::new(42)); |
| 721 | assert_eq!(position.pos, ChangePosition::new(100)); |
| 722 | } |
| 723 | _ => panic!("Wrong error type"), |
| 724 | } |
| 725 | } |
| 726 | |
| 727 | #[test] |
| 728 | fn test_dependency_missing_error() { |
nothing calls this directly
no test coverage detected