diff --git a/interpreter/tests/common/mod.rs b/interpreter/tests/common/mod.rs index 36ad1a7..ad7a1e6 100644 --- a/interpreter/tests/common/mod.rs +++ b/interpreter/tests/common/mod.rs @@ -42,7 +42,8 @@ pub fn run_test(path: impl Into) { let output = Rc::new(RefCell::new(output)); { - let output: Rc>> = Rc::clone(&output); + let output = Rc::clone(&output); + let mut runtime = Runtime::new(Rc::new(RefCell::new(stdin())), output); match run(&source, &mut runtime) {