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

cgen: fix v -prealloc file_test.v

This commit is contained in:
Delyan Angelov 2023-04-09 09:35:43 +03:00
parent d2f69472b2
commit 9267e41337
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -248,8 +248,8 @@ pub fn (mut g Gen) gen_c_main_for_tests() {
}
g.writeln('#endif')
}
g.writeln('\tmain__vtest_init();')
g.writeln('\t_vinit(___argc, (voidptr)___argv);')
g.writeln('\tmain__vtest_init();')
g.gen_c_main_profile_hook()
//
mut all_tfuncs := g.get_all_test_function_names()