tests: add a new `import_x_json2.v` skipped valgrind test

pull/12600/head
Delyan Angelov 2021-11-28 18:36:05 +02:00
parent 1913de0187
commit 5786dd84e6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import x.json2
fn main() {
x := '[[],[],[]]'
println(json2.raw_decode(x) ?)
}

View File

@ -29,6 +29,7 @@ const skip_valgrind_files = [
'vlib/v/tests/valgrind/fn_with_return_should_free_local_vars.v',
'vlib/v/tests/valgrind/option_simple.v',
'vlib/v/tests/valgrind/string_plus_string_plus.v',
'vlib/v/tests/valgrind/import_x_json2.v',
]
fn vprintln(s string) {