From aa9eecd32ce8cb290963da4f15f259e85f8e9758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s?= Date: Tue, 18 Apr 2023 11:36:58 -0300 Subject: [PATCH] Change assert_matches for assert This should make the codecov patch check pass. --- .../builtin_hint_processor/secp/field_utils.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hint_processor/builtin_hint_processor/secp/field_utils.rs b/src/hint_processor/builtin_hint_processor/secp/field_utils.rs index 5ac9a731ef..7bbb604700 100644 --- a/src/hint_processor/builtin_hint_processor/secp/field_utils.rs +++ b/src/hint_processor/builtin_hint_processor/secp/field_utils.rs @@ -555,10 +555,7 @@ mod tests { )), ); //Execute the hint - assert_matches!( - run_hint!(vm, HashMap::new(), hint_code, &mut exec_scopes), - Ok(()) - ); + assert!(run_hint!(vm, HashMap::new(), hint_code, &mut exec_scopes).is_ok()); //Check 'value' is defined in the vm scope assert_matches!(