mirror of
https://github.com/MorizzG/rlox.git
synced 2025-12-06 04:12:42 +00:00
fixed tests
This commit is contained in:
parent
8e847847a6
commit
f9804c0c29
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ pub fn run_test(path: impl Into<PathBuf>) {
|
|||
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);
|
||||
|
||||
match run(&source, &mut runtime) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue