()
| 998 | |
| 999 | #[test] |
| 1000 | fn test_turn_changes_all_paths_order() { |
| 1001 | let changes = TurnChanges::new() |
| 1002 | .with_modified(vec![PathBuf::from("mod.rs")]) |
| 1003 | .with_added(vec![PathBuf::from("add.rs")]) |
| 1004 | .with_deleted(vec![PathBuf::from("del.rs")]); |
| 1005 | |
| 1006 | let paths = changes.all_paths(); |
| 1007 | assert_eq!(paths.len(), 3); |
| 1008 | assert_eq!(paths[0], PathBuf::from("mod.rs")); |
| 1009 | assert_eq!(paths[1], PathBuf::from("add.rs")); |
| 1010 | assert_eq!(paths[2], PathBuf::from("del.rs")); |
| 1011 | } |
| 1012 | |
| 1013 | #[test] |
| 1014 | fn test_turn_changes_all_path_strings() { |
nothing calls this directly
no test coverage detected