()
| 481 | |
| 482 | #[test] |
| 483 | fn test_restore_with_files() { |
| 484 | let cmd = Restore::new().with_files(vec!["file.txt".to_string(), "src/".to_string()]); |
| 485 | assert_eq!(cmd.files.len(), 2); |
| 486 | assert_eq!(cmd.files[0], "file.txt"); |
| 487 | assert_eq!(cmd.files[1], "src/"); |
| 488 | } |
| 489 | |
| 490 | #[test] |
| 491 | fn test_restore_with_dry_run() { |
nothing calls this directly
no test coverage detected