()
| 731 | |
| 732 | #[test] |
| 733 | fn test_add_with_files_vec() { |
| 734 | let add = Add::new().with_files(vec!["src/main.rs", "src/lib.rs"]); |
| 735 | assert_eq!(add.files.len(), 2); |
| 736 | assert_eq!(add.files[0], "src/main.rs"); |
| 737 | assert_eq!(add.files[1], "src/lib.rs"); |
| 738 | } |
| 739 | |
| 740 | #[test] |
| 741 | fn test_add_with_files_strings() { |
nothing calls this directly
no test coverage detected