cgen_test: skip definitions

pull/3937/head
Alexander Medvednikov 2020-03-04 17:35:13 +01:00
parent 59a65d757b
commit 237ce6ff84
1 changed files with 1 additions and 1 deletions

View File

@ -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}')
}