Skip to content

Commit

Permalink
Merge #2997
Browse files Browse the repository at this point in the history
2997: fix check warnings r=epage a=bacongobbler



Co-authored-by: Matthew Fisher <[email protected]>
  • Loading branch information
bors[bot] and bacongobbler authored Nov 5, 2021
2 parents 6b0c49e + a769071 commit 00a0c4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit 00a0c4e

Please sign in to comment.