Skip to content

Commit

Permalink
Change assert_matches for assert
Browse files Browse the repository at this point in the history
This should make the codecov patch check pass.
  • Loading branch information
MegaRedHand committed Apr 18, 2023
1 parent 32a4b07 commit aa9eecd
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit aa9eecd

Please sign in to comment.