Skip to content

Commit

Permalink
Merge pull request #4864 from mattmadeofpasta/remove-redundant-test
Browse files Browse the repository at this point in the history
test(help): Remove redundant test
  • Loading branch information
epage committed Apr 27, 2023
2 parents 43591bc + 296fec9 commit 6b23edc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions clap_builder/src/builder/arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4793,15 +4793,4 @@ mod test {

assert_eq!(p.to_string(), "<file1> <file2>");
}

#[test]
fn positional_display_val_names_req() {
let mut p = Arg::new("pos")
.index(1)
.required(true)
.value_names(["file1", "file2"]);
p._build();

assert_eq!(p.to_string(), "<file1> <file2>");
}
}

0 comments on commit 6b23edc

Please sign in to comment.