()
| 990 | |
| 991 | #[test] |
| 992 | fn test_turn_changes_all_paths_order() { |
| 993 | let changes = TurnChanges::new() |
| 994 | .with_modified(vec![PathBuf::from("mod.rs")]) |
| 995 | .with_added(vec![PathBuf::from("add.rs")]) |
| 996 | .with_deleted(vec![PathBuf::from("del.rs")]); |
| 997 | |
| 998 | let paths = changes.all_paths(); |
| 999 | assert_eq!(paths.len(), 3); |
| 1000 | assert_eq!(paths[0], PathBuf::from("mod.rs")); |
| 1001 | assert_eq!(paths[1], PathBuf::from("add.rs")); |
| 1002 | assert_eq!(paths[2], PathBuf::from("del.rs")); |
| 1003 | } |
| 1004 | |
| 1005 | #[test] |
| 1006 | fn test_turn_changes_all_path_strings() { |
nothing calls this directly
no test coverage detected