We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ecf882 commit 342efdbCopy full SHA for 342efdb
src/vm/runners/cairo_runner.rs
@@ -4540,8 +4540,8 @@ mod tests {
4540
.initialize_function_runner(&mut vm, false)
4541
.unwrap();
4542
4543
- assert_matches!(
4544
- cairo_runner.run_from_entrypoint(
+ assert!(cairo_runner
+ .run_from_entrypoint(
4545
main_entrypoint,
4546
&[
4547
&MaybeRelocatable::from((2, 0)).into() //bitwise_ptr
@@ -4550,9 +4550,8 @@ mod tests {
4550
None,
4551
&mut vm,
4552
&mut hint_processor,
4553
- ),
4554
- Ok(())
4555
- );
+ )
+ .is_ok());
4556
4557
// Check that memory_holes == 0
4558
assert!(cairo_runner.get_memory_holes(&vm).unwrap().is_zero());
0 commit comments