1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen,pref,preludes: implement v -assert continues file_test.v (#15976)

This commit is contained in:
Delyan Angelov
2022-10-06 17:20:32 +03:00
committed by GitHub
parent 58bf2838c0
commit 88d69d7d54
9 changed files with 149 additions and 37 deletions

View File

@ -104,12 +104,12 @@ pub fn (mut app App) controller_get_all_task() ?vweb.Result {
for key, values in framework_platform[orm_stmt_kind] {
attribute_names[orm_stmt_kind] << key
maxs[orm_stmt_kind] << arrays.max(values)?
maxs[orm_stmt_kind] << arrays.max(values) or { continue }
}
max_benchmark[orm_stmt_kind] = arrays.max(maxs[orm_stmt_kind])?
from_framework[orm_stmt_kind] = json.encode(framework_platform[orm_stmt_kind])
table[orm_stmt_kind] = gen_table_info(attribute_names[orm_stmt_kind], framework_platform[orm_stmt_kind])
max_benchmark[orm_stmt_kind] = arrays.max(maxs[orm_stmt_kind]) or { continue }
}
return $vweb.html()