mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen_test: skip definitions
This commit is contained in:
parent
59a65d757b
commit
237ce6ff84
@ -24,7 +24,7 @@ fn test_c_files() {
|
||||
ctext = ctext // unused warn
|
||||
mut b := builder.new_builder(pref.Preferences{})
|
||||
b.module_search_paths = ['$vroot/vlib/v/gen/tests/']
|
||||
res := b.gen_c([path])
|
||||
res := b.gen_c([path]).after('#endif')
|
||||
if compare_texts(res, ctext) {
|
||||
eprintln('${term_ok} ${i}')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user