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:
zeertzjq
2022-07-10 10:58:09 +08:00
parent 45d2644205
commit b3b85186ed

View File

@@ -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')