()
| 653 | |
| 654 | #[test] |
| 655 | fn test_cyclic_dependency_error() { |
| 656 | let error = LocalApplyError::CyclicDependency { |
| 657 | message: "Down context cannot reference current change".to_string(), |
| 658 | }; |
| 659 | |
| 660 | match error { |
| 661 | LocalApplyError::CyclicDependency { message } => { |
| 662 | assert!(message.contains("Down context")); |
| 663 | } |
| 664 | _ => panic!("Wrong error type"), |
| 665 | } |
| 666 | } |
| 667 | |
| 668 | #[test] |
| 669 | fn test_dependency_missing_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected