Skip to content

Commit 342efdb

Browse files
committed
Fix codecov-patch diff
1 parent 3ecf882 commit 342efdb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/vm/runners/cairo_runner.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4540,8 +4540,8 @@ mod tests {
45404540
.initialize_function_runner(&mut vm, false)
45414541
.unwrap();
45424542

4543-
assert_matches!(
4544-
cairo_runner.run_from_entrypoint(
4543+
assert!(cairo_runner
4544+
.run_from_entrypoint(
45454545
main_entrypoint,
45464546
&[
45474547
&MaybeRelocatable::from((2, 0)).into() //bitwise_ptr
@@ -4550,9 +4550,8 @@ mod tests {
45504550
None,
45514551
&mut vm,
45524552
&mut hint_processor,
4553-
),
4554-
Ok(())
4555-
);
4553+
)
4554+
.is_ok());
45564555

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

0 commit comments

Comments
 (0)