From a769071f72050080fdc5e0ebfe6ab652d50bf2fa Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Fri, 5 Nov 2021 11:38:06 -0700 Subject: [PATCH] fix check warnings Signed-off-by: Matthew Fisher --- tests/yaml.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/yaml.rs b/tests/yaml.rs index ce93730a..d2e58d28 100644 --- a/tests/yaml.rs +++ b/tests/yaml.rs @@ -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]