diff src/testdir/test_cmdline.vim @ 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 e8873138ffbb
children 162ef12a3b5f
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')