fixed closures

This commit is contained in:
Moritz Gmeiner 2024-09-03 00:48:10 +02:00
commit 671f7d5306
6 changed files with 106 additions and 72 deletions

View file

@ -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();
}