()
| 1095 | |
| 1096 | #[test] |
| 1097 | fn test_turn_changes_summary_multiple() { |
| 1098 | let changes = TurnChanges::new() |
| 1099 | .with_modified(vec![PathBuf::from("a"), PathBuf::from("b")]) |
| 1100 | .with_added(vec![PathBuf::from("c")]) |
| 1101 | .with_deleted(vec![PathBuf::from("d")]); |
| 1102 | assert_eq!( |
| 1103 | changes.summary(), |
| 1104 | "4 files changed (2 modified, 1 added, 1 deleted)" |
| 1105 | ); |
| 1106 | } |
| 1107 | |
| 1108 | #[test] |
| 1109 | fn test_turn_changes_summary_only_added() { |
nothing calls this directly
no test coverage detected