The ` ` / `--into` pair parsed off a `triage review` argument list.
(args: &[&str])
| 467 | |
| 468 | /// The `<VIEW>` / `--into` pair parsed off a `triage review` argument list. |
| 469 | fn parse_views(args: &[&str]) -> (Option<String>, Option<String>) { |
| 470 | let cmd = |
| 471 | TriageReview::try_parse_from(std::iter::once("review").chain(args.iter().copied())) |
| 472 | .unwrap(); |
| 473 | (cmd.feature, cmd.into) |
| 474 | } |
| 475 | |
| 476 | #[test] |
| 477 | fn both_view_arguments_are_optional() { |