diff --git a/clap_builder/src/builder/arg.rs b/clap_builder/src/builder/arg.rs index ce7e02d8712..34a8c1f9989 100644 --- a/clap_builder/src/builder/arg.rs +++ b/clap_builder/src/builder/arg.rs @@ -4793,15 +4793,4 @@ mod test { assert_eq!(p.to_string(), " "); } - - #[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(), " "); - } }