()
| 1380 | |
| 1381 | #[test] |
| 1382 | fn test_turn_changes_all_paths_order() { |
| 1383 | let changes = TurnChanges::new() |
| 1384 | .with_modified(vec![PathBuf::from("mod.rs")]) |
| 1385 | .with_added(vec![PathBuf::from("add.rs")]) |
| 1386 | .with_deleted(vec![PathBuf::from("del.rs")]); |
| 1387 | |
| 1388 | let paths = changes.all_paths(); |
| 1389 | assert_eq!(paths.len(), 3); |
| 1390 | assert_eq!(paths[0], PathBuf::from("mod.rs")); |
| 1391 | assert_eq!(paths[1], PathBuf::from("add.rs")); |
| 1392 | assert_eq!(paths[2], PathBuf::from("del.rs")); |
| 1393 | } |
| 1394 | |
| 1395 | #[test] |
| 1396 | fn test_turn_changes_all_path_strings() { |
nothing calls this directly
no test coverage detected