Skip to content

Commit fd805cb

Browse files
committed
Fix unittest
1 parent 8b3a95c commit fd805cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ mod tests {
841841
use super::Compiler;
842842
fn compile_exec(source: &str) -> CodeObject {
843843
let mut compiler = Compiler::new();
844-
compiler.push_new_code_object(Option::None);
844+
compiler.push_new_code_object(Option::None, "<module>".to_string());
845845
let ast = parser::parse_program(&source.to_string()).unwrap();
846846
compiler.compile_program(&ast);
847847
compiler.pop_code_object()

0 commit comments

Comments
 (0)