commit b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc
parent 45d26442056feae1dcb6718d8925d97b6cf055e1
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun, 10 Jul 2022 10:58:09 +0800
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.
https://github.com/vim/vim/commit/39c47c310487b72bc78ff197b5a068a0bcf830de
Diffstat:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim
@@ -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')