()
| 583 | |
| 584 | #[test] |
| 585 | fn test_add_with_files_vec() { |
| 586 | let add = Add::new().with_files(vec!["src/main.rs", "src/lib.rs"]); |
| 587 | assert_eq!(add.files.len(), 2); |
| 588 | assert_eq!(add.files[0], "src/main.rs"); |
| 589 | assert_eq!(add.files[1], "src/lib.rs"); |
| 590 | } |
| 591 | |
| 592 | #[test] |
| 593 | fn test_add_with_files_strings() { |
nothing calls this directly
no test coverage detected