diff --git a/src/compiler/test_utils.rs b/src/compiler/test_utils.rs index 0db4539..6115af3 100644 --- a/src/compiler/test_utils.rs +++ b/src/compiler/test_utils.rs @@ -53,7 +53,7 @@ pub(crate) fn run_compiler(tests: Vec) { let mut compiler = Compiler::new(); match compiler.compile(program) { - Ok(_) => { + Ok(()) => { let bytecode = compiler.bytecode(); println!( "want {}, got {}",