1
0
forked from aniani/vim

patch 8.2.4678: Vim9: not all code is tested

Problem:    Vim9: not all code is tested.
Solution:   Add a few more tests.
This commit is contained in:
Bram Moolenaar
2022-04-03 21:11:34 +01:00
parent 0b962e5685
commit 1061195057
5 changed files with 71 additions and 6 deletions

View File

@@ -2130,6 +2130,17 @@ def Test_for_loop()
endfor
assert_equal('', res)
total = 0
for c in null_list
total += 1
endfor
assert_equal(0, total)
for c in null_blob
total += 1
endfor
assert_equal(0, total)
var foo: list<dict<any>> = [
{a: 'Cat'}
]