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:
parent
d2f69472b2
commit
9267e41337
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user