()
| 890 | |
| 891 | #[test] |
| 892 | fn test_block_not_found_error() { |
| 893 | let pos = make_internal_position(NodeId::new(42), 100); |
| 894 | let error = LocalApplyError::BlockNotFound { position: pos }; |
| 895 | |
| 896 | match error { |
| 897 | LocalApplyError::BlockNotFound { position } => { |
| 898 | assert_eq!(position.change, NodeId::new(42)); |
| 899 | assert_eq!(position.pos, ChangePosition::new(100)); |
| 900 | } |
| 901 | _ => panic!("Wrong error type"), |
| 902 | } |
| 903 | } |
| 904 | |
| 905 | #[test] |
| 906 | fn test_dependency_missing_error() { |
nothing calls this directly
no test coverage detected