vim-patch:8.2.0396: cmdexpand.c insufficiently tested

Problem:    Cmdexpand.c insufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes vim/vim#5789)
24ebd83e03

Map Q to gQ before every test since a test uses :mapclear.
This commit is contained in:
zeertzjq
2022-07-09 17:19:09 +08:00
parent 12f0ef669d
commit 65359e5657
5 changed files with 189 additions and 17 deletions

View File

@@ -313,7 +313,7 @@ func CustomComplete(A, L, P)
endfunc
func CustomCompleteList(A, L, P)
return [ "Monday", "Tuesday", "Wednesday" ]
return [ "Monday", "Tuesday", "Wednesday", {}]
endfunc
func Test_CmdCompletion()