diff --git a/tests/integration/src/compiler_test.rs b/tests/integration/src/compiler_test.rs index e4bcb3ad4..095426c75 100644 --- a/tests/integration/src/compiler_test.rs +++ b/tests/integration/src/compiler_test.rs @@ -249,7 +249,13 @@ impl CompilerTest { Some(&core_module.path), &mut AssemblyContext::for_module(false), ) - .unwrap(); + .expect( + format!( + "VM Assembler failed to compile module:\n{:?}", + core_module.ast + ) + .as_str(), + ); } let core_program = assembler.compile_ast(&program_ast).unwrap(); core_program