From 342efdbd2f386dc83c3308064e3fbbef11f4ffe1 Mon Sep 17 00:00:00 2001 From: Federica Date: Fri, 21 Apr 2023 12:43:18 -0300 Subject: [PATCH] Fix codecov-patch diff --- src/vm/runners/cairo_runner.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/vm/runners/cairo_runner.rs b/src/vm/runners/cairo_runner.rs index 68447a58cb..d040a3e8f4 100644 --- a/src/vm/runners/cairo_runner.rs +++ b/src/vm/runners/cairo_runner.rs @@ -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 @@ -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());