mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 08:28:34 +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", @:)
|
call assert_equal("\"unlet one two", @:)
|
||||||
|
|
||||||
" completion for the :buffer command with curlies
|
" completion for the :buffer command with curlies
|
||||||
edit \{someFile}
|
" FIXME: what should happen on MS-Windows?
|
||||||
call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt')
|
if !has('win32')
|
||||||
call assert_equal("\"buf {someFile}", @:)
|
edit \{someFile}
|
||||||
bwipe {someFile}
|
call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||||
|
call assert_equal("\"buf {someFile}", @:)
|
||||||
|
bwipe {someFile}
|
||||||
|
endif
|
||||||
|
|
||||||
" completion for the :bdelete command
|
" completion for the :bdelete command
|
||||||
call feedkeys(":bdel a b c\<C-A>\<C-B>\"\<CR>", 'xt')
|
call feedkeys(":bdel a b c\<C-A>\<C-B>\"\<CR>", 'xt')
|
||||||
|
Reference in New Issue
Block a user