changeset 25996:94a8f120a06e v8.2.3531

patch 8.2.3531: command line completion test fails on MS-Windows Commit: https://github.com/vim/vim/commit/39c47c310487b72bc78ff197b5a068a0bcf830de Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 17 18:05:26 2021 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Oct 2021 19:15:04 +0200
parents ce5cb341defd
children 847b1374b39e
files src/testdir/test_cmdline.vim src/version.c
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim
+++ b/src/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')
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3531,
+/**/
     3530,
 /**/
     3529,