fix check warnings

Signed-off-by: Matthew Fisher <matt.fisher@fishworks.io>
This commit is contained in:
Matthew Fisher 2021-11-05 11:38:06 -07:00
parent 6b0c49e840
commit a769071f72
No known key found for this signature in database
GPG key ID: 887ED80487CE4E0F

View file

@ -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]