z_mirror/hare-fmm
git clone https://git.raiguard.me/z_mirror/hare-fmm
119b016
trunk
1// @test fn modfile_read_info() void = { 2// let dir = dir_load("TEST/mods")!; 3// defer dir_free(&dir); 4 5// const ident = modident_parse("Zipped"); 6// defer modident_free(ident); 7// let (file, entry) = dir_find(&dir, &ident)!; 8// modfile_read_info(file); 9 10// let deps = file.dependencies as []dependency; 11// for (let i = 0z; i < len(deps); i += 1) { 12// const dep = &deps[i]; 13// // TODO: Actually test dependencies 14// if (dep.kind == dependency_kind::REQUIRED) 15// fmt::println(dep.ident.0)!; 16// }; 17// };