()
| 1004 | |
| 1005 | #[test] |
| 1006 | fn test_turn_changes_all_path_strings() { |
| 1007 | let changes = TurnChanges::new() |
| 1008 | .with_modified(vec![PathBuf::from("src/main.rs")]) |
| 1009 | .with_added(vec![PathBuf::from("src/lib.rs")]); |
| 1010 | |
| 1011 | let strings = changes.all_path_strings(); |
| 1012 | assert_eq!(strings, vec!["src/main.rs", "src/lib.rs"]); |
| 1013 | } |
| 1014 | |
| 1015 | #[test] |
| 1016 | fn test_turn_changes_file_count_mixed() { |
nothing calls this directly
no test coverage detected