()
| 729 | |
| 730 | #[test] |
| 731 | fn test_unrecord_options_builder() { |
| 732 | let options = UnrecordOptions::new() |
| 733 | .view("feature") |
| 734 | .cascade(true) |
| 735 | .update_working_copy(false) |
| 736 | .max_cascade(50) |
| 737 | .keep_change(false); |
| 738 | |
| 739 | assert_eq!(options.view, Some("feature".to_string())); |
| 740 | assert!(options.cascade); |
| 741 | assert!(!options.update_working_copy); |
| 742 | assert_eq!(options.max_cascade, Some(50)); |
| 743 | assert!(!options.keep_change); |
| 744 | } |
| 745 | |
| 746 | #[test] |
| 747 | fn test_unrecord_options_dry_run() { |
nothing calls this directly
no test coverage detected