()
| 773 | |
| 774 | #[test] |
| 775 | fn test_trunk_not_found() { |
| 776 | let trunk_id = TrunkId::new(NodeId::new(1), 0); |
| 777 | let err = ApplyError::trunk_not_found(trunk_id); |
| 778 | assert!(err.is_not_found()); |
| 779 | assert!(!err.is_already_exists()); |
| 780 | assert!(err.to_string().contains("trunk not found")); |
| 781 | } |
| 782 | |
| 783 | #[test] |
| 784 | fn test_branch_not_found() { |
nothing calls this directly
no outgoing calls
no test coverage detected