()
| 1485 | |
| 1486 | #[test] |
| 1487 | fn test_turn_changes_summary_multiple() { |
| 1488 | let changes = TurnChanges::new() |
| 1489 | .with_modified(vec![PathBuf::from("a"), PathBuf::from("b")]) |
| 1490 | .with_added(vec![PathBuf::from("c")]) |
| 1491 | .with_deleted(vec![PathBuf::from("d")]); |
| 1492 | assert_eq!( |
| 1493 | changes.summary(), |
| 1494 | "4 files changed (2 modified, 1 added, 1 deleted)" |
| 1495 | ); |
| 1496 | } |
| 1497 | |
| 1498 | #[test] |
| 1499 | fn test_turn_changes_summary_only_added() { |
nothing calls this directly
no test coverage detected