From b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 10 Jul 2022 10:58:09 +0800 Subject: 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 --- src/nvim/testdir/test_cmdline.vim | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') 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\\\"\", 'xt') - call assert_equal("\"buf {someFile}", @:) - bwipe {someFile} + " FIXME: what should happen on MS-Windows? + if !has('win32') + edit \{someFile} + call feedkeys(":buf someFile\\\"\", 'xt') + call assert_equal("\"buf {someFile}", @:) + bwipe {someFile} + endif " completion for the :bdelete command call feedkeys(":bdel a b c\\\"\", 'xt') -- cgit