fixed tests

This commit is contained in:
Moritz Gmeiner 2024-09-01 23:16:00 +02:00
commit f9804c0c29

View file

@ -42,7 +42,8 @@ pub fn run_test(path: impl Into<PathBuf>) {
let output = Rc::new(RefCell::new(output)); let output = Rc::new(RefCell::new(output));
{ {
let output: Rc<RefCell<Vec<u8>>> = Rc::clone(&output); let output = Rc::clone(&output);
let mut runtime = Runtime::new(Rc::new(RefCell::new(stdin())), output); let mut runtime = Runtime::new(Rc::new(RefCell::new(stdin())), output);
match run(&source, &mut runtime) { match run(&source, &mut runtime) {