diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-10 10:58:09 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-10 10:58:12 +0800 |
commit | b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc (patch) | |
tree | d367c36d39cf03db6b0f8482215eaf5bb416a877 /src | |
parent | 45d26442056feae1dcb6718d8925d97b6cf055e1 (diff) | |
download | rneovim-b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc.tar.gz rneovim-b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc.tar.bz2 rneovim-b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc.zip |
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 (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index e42510c17f..4207e4767e 100644 --- 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') |