mirror of
https://github.com/MorizzG/rlox.git
synced 2025-12-06 04:12:42 +00:00
fixed closures
This commit is contained in:
parent
d040d92052
commit
671f7d5306
6 changed files with 106 additions and 72 deletions
|
|
@ -37,12 +37,8 @@ fn generate_tests() {
|
|||
for lox_file in glob("tests/lox/**/*.lox").unwrap() {
|
||||
let lox_file = lox_file.unwrap();
|
||||
|
||||
println!("found lox file: {}", lox_file.to_str().unwrap());
|
||||
|
||||
output += &build_test_case(lox_file);
|
||||
}
|
||||
|
||||
println!("{output}");
|
||||
|
||||
std::fs::write("tests/all_tests.rs", output).unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue