()
| 174 | |
| 175 | #[test] |
| 176 | fn test_cross_view_options_new() { |
| 177 | let opts = CrossViewInsertOptions::new("feature", "main"); |
| 178 | assert_eq!(opts.from_view, "feature"); |
| 179 | assert_eq!(opts.to_view, "main"); |
| 180 | assert!(opts.up_to_tag.is_none()); |
| 181 | assert!(opts.only_changes.is_empty()); |
| 182 | assert!(opts.apply_dependencies); |
| 183 | assert!(!opts.allow_conflicts); |
| 184 | assert!(!opts.dry_run); |
| 185 | } |
| 186 | |
| 187 | #[test] |
| 188 | fn test_cross_view_options_up_to_tag() { |
nothing calls this directly
no outgoing calls
no test coverage detected