Skip to content

Commit

Permalink
test(help): Remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmadeofpasta committed Apr 27, 2023
1 parent 43591bc commit 296fec9
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 296fec9

Please sign in to comment.