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:
committed by
Bram Moolenaar
parent
872bee557e
commit
34fcb69724
@@ -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()
|
||||
|
Reference in New Issue
Block a user