mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
fix check warnings
Signed-off-by: Matthew Fisher <matt.fisher@fishworks.io>
This commit is contained in:
parent
6b0c49e840
commit
a769071f72
1 changed files with 3 additions and 3 deletions
|
@ -213,7 +213,7 @@ fn app_not_hash() {
|
|||
#[should_panic = "YAML file must be a hash"]
|
||||
fn arg_file_not_hash() {
|
||||
let yml = load_yaml!("fixtures/not_hash.yaml");
|
||||
Arg::from(yml);
|
||||
let _ = Arg::from(yml);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -241,7 +241,7 @@ fn subcommand_name_not_string() {
|
|||
#[should_panic = "Arg name must be a string"]
|
||||
fn arg_name_not_string() {
|
||||
let yml = load_yaml!("fixtures/name_not_string.yaml");
|
||||
Arg::from(yml);
|
||||
let _ = Arg::from(yml);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -255,7 +255,7 @@ fn app_field_not_string() {
|
|||
#[should_panic = "Arg fields must be strings"]
|
||||
fn arg_field_not_string() {
|
||||
let yml = load_yaml!("fixtures/arg_field_not_string.yaml");
|
||||
Arg::from(yml);
|
||||
let _ = Arg::from(yml);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue