()
| 1430 | |
| 1431 | #[test] |
| 1432 | fn test_result_with_conflicts() { |
| 1433 | let conflicts = vec![ |
| 1434 | FileConflict::new("test.rs".to_string(), FileConflictType::Order), |
| 1435 | FileConflict::new("test.rs".to_string(), FileConflictType::Cyclic), |
| 1436 | ]; |
| 1437 | let result = |
| 1438 | FileOutputResult::empty("test.rs", Inode::ROOT).with_conflicts(conflicts.clone()); |
| 1439 | |
| 1440 | assert_eq!(result.conflict_count(), 2); |
| 1441 | } |
| 1442 | |
| 1443 | #[test] |
| 1444 | fn test_result_builder_chain() { |
nothing calls this directly
no test coverage detected