| 583 | |
| 584 | #[test] |
| 585 | fn test_insert_subcommand_variants() { |
| 586 | // Just verify the enums compile correctly |
| 587 | let _ = InsertSubcommand::FromView(FromViewArgs { |
| 588 | from_view: "feature".to_string(), |
| 589 | to_view: Some("main".to_string()), |
| 590 | deps: true, |
| 591 | allow_conflicts: false, |
| 592 | dry_run: false, |
| 593 | }); |
| 594 | |
| 595 | let _ = InsertSubcommand::Tag(TagArgs { |
| 596 | tag_name: "v1.0.0".to_string(), |
| 597 | from_view: Some("feature".to_string()), |
| 598 | to_view: Some("main".to_string()), |
| 599 | deps: true, |
| 600 | allow_conflicts: false, |
| 601 | dry_run: false, |
| 602 | }); |
| 603 | |
| 604 | let _ = InsertSubcommand::Pick(PickArgs { |
| 605 | changes: vec!["abc123".to_string()], |
| 606 | to_view: None, |
| 607 | deps: true, |
| 608 | allow_conflicts: false, |
| 609 | }); |
| 610 | |
| 611 | let _ = InsertSubcommand::Preview(PreviewArgs { |
| 612 | from_view: "feature".to_string(), |
| 613 | to_view: None, |
| 614 | up_to_tag: None, |
| 615 | }); |
| 616 | } |
| 617 | |
| 618 | #[test] |
| 619 | fn test_from_view_args_defaults() { |