mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
vim-patch:8.2.3531: command line completion test fails on MS-Windows
Problem: Command line completion test fails on MS-Windows.
Solution: Do not test with "\{" on MS-Windows.
39c47c3104
This commit is contained in:
@@ -901,10 +901,13 @@ func Test_cmdline_complete_various()
|
||||
call assert_equal("\"unlet one two", @:)
|
||||
|
||||
" completion for the :buffer command with curlies
|
||||
edit \{someFile}
|
||||
call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||
call assert_equal("\"buf {someFile}", @:)
|
||||
bwipe {someFile}
|
||||
" FIXME: what should happen on MS-Windows?
|
||||
if !has('win32')
|
||||
edit \{someFile}
|
||||
call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||
call assert_equal("\"buf {someFile}", @:)
|
||||
bwipe {someFile}
|
||||
endif
|
||||
|
||||
" completion for the :bdelete command
|
||||
call feedkeys(":bdel a b c\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||
|
Reference in New Issue
Block a user