()
| 828 | |
| 829 | #[test] |
| 830 | fn test_path_already_exists() { |
| 831 | let trunk_id = TrunkId::new(NodeId::new(1), 0); |
| 832 | let err = ApplyError::path_already_exists("src/main.rs", trunk_id); |
| 833 | assert!(err.is_already_exists()); |
| 834 | assert!(err.to_string().contains("src/main.rs")); |
| 835 | } |
| 836 | |
| 837 | #[test] |
| 838 | fn test_invalid_trunk_state() { |
nothing calls this directly
no outgoing calls
no test coverage detected