()
| 805 | |
| 806 | #[test] |
| 807 | fn test_trunk_already_exists() { |
| 808 | let trunk_id = TrunkId::new(NodeId::new(1), 0); |
| 809 | let err = ApplyError::trunk_already_exists(trunk_id); |
| 810 | assert!(err.is_already_exists()); |
| 811 | assert!(!err.is_not_found()); |
| 812 | assert!(err.to_string().contains("already exists")); |
| 813 | } |
| 814 | |
| 815 | #[test] |
| 816 | fn test_branch_already_exists() { |
nothing calls this directly
no outgoing calls
no test coverage detected