forked from aniani/vim
patch 8.2.0448: various functions not properly tested
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843)
This commit is contained in:
@@ -68,6 +68,11 @@ func Test_complete_wildmenu()
|
||||
call assert_equal('"e Xtestfile3 Xtestfile4', @:)
|
||||
cd -
|
||||
|
||||
cnoremap <expr> <F2> wildmenumode()
|
||||
call feedkeys(":cd Xdir\<Tab>\<F2>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"cd Xdir1/1', @:)
|
||||
cunmap <F2>
|
||||
|
||||
" cleanup
|
||||
%bwipe
|
||||
call delete('Xdir1/Xdir2/Xtestfile4')
|
||||
|
||||
Reference in New Issue
Block a user