diff --git a/src/macros.rs b/src/macros.rs index 8ff4109..be60ac0 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -111,7 +111,12 @@ macro_rules! test_executable_instruction { let mut instance = $instance; let run = interpreter.run(&invocation_inputs, &mut instance); - assert!(run.is_ok()); + let err = match &run { + Ok(_) => "".to_string(), + Err(e) => e.to_string(), + }; + + assert!(run.is_ok(), err); let stack = run.unwrap();