Skip to content

Commit

Permalink
Change assert_matches for assert + is_ok
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Apr 14, 2023
1 parent de8e147 commit 86ed377
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,7 @@ mod tests {
let ids_data = non_continuous_ids_data![("val", -5), ("q", 0)];
vm.segments = segments![((1, 4), 0), ((1, 5), 0), ((1, 6), 0)];
//Execute the hint
assert_matches!(
run_hint!(vm, ids_data, hint_code, exec_scopes_ref!()),
Ok(())
);
assert!(run_hint!(vm, ids_data, hint_code, exec_scopes_ref!()).is_ok());
//Check hint memory inserts
//ids.q
check_memory![vm.segments.memory, ((1, 9), 0)];
Expand Down

0 comments on commit 86ed377

Please sign in to comment.