()
| 1404 | |
| 1405 | #[test] |
| 1406 | fn test_turn_changes_file_count_mixed() { |
| 1407 | let changes = TurnChanges::new() |
| 1408 | .with_modified(vec![PathBuf::from("a"), PathBuf::from("b")]) |
| 1409 | .with_added(vec![PathBuf::from("c")]) |
| 1410 | .with_deleted(vec![ |
| 1411 | PathBuf::from("d"), |
| 1412 | PathBuf::from("e"), |
| 1413 | PathBuf::from("f"), |
| 1414 | ]); |
| 1415 | assert_eq!(changes.file_count(), 6); |
| 1416 | } |
| 1417 | |
| 1418 | #[test] |
| 1419 | fn test_turn_changes_merge_empty() { |
nothing calls this directly
no test coverage detected