Skip to content

Commit

Permalink
Fix codecov-patch diff
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Apr 21, 2023
1 parent 3ecf882 commit 342efdb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/vm/runners/cairo_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4540,8 +4540,8 @@ mod tests {
.initialize_function_runner(&mut vm, false)
.unwrap();

assert_matches!(
cairo_runner.run_from_entrypoint(
assert!(cairo_runner
.run_from_entrypoint(
main_entrypoint,
&[
&MaybeRelocatable::from((2, 0)).into() //bitwise_ptr
Expand All @@ -4550,9 +4550,8 @@ mod tests {
None,
&mut vm,
&mut hint_processor,
),
Ok(())
);
)
.is_ok());

// Check that memory_holes == 0
assert!(cairo_runner.get_memory_holes(&vm).unwrap().is_zero());
Expand Down

0 comments on commit 342efdb

Please sign in to comment.