1
0
forked from aniani/vim

patch 8.2.2886: various pieces of code not covered by tests

Problem:    Various pieces of code not covered by tests.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #8255)
This commit is contained in:
Yegappan Lakshmanan
2021-05-25 20:14:00 +02:00
committed by Bram Moolenaar
parent 872bee557e
commit 34fcb69724
9 changed files with 53 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ func Test_getreg_empty_list()
let y = x
call add(x, 'foo')
call assert_equal(['foo'], y)
call assert_fails('call getreg([])', 'E730:')
endfunc
func Test_loop_over_null_list()