comparison 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
comparison
equal deleted inserted replaced
25995:ce5cb341defd 25996:94a8f120a06e
899 " completion for the :unlet command 899 " completion for the :unlet command
900 call feedkeys(":unlet one two\<C-A>\<C-B>\"\<CR>", 'xt') 900 call feedkeys(":unlet one two\<C-A>\<C-B>\"\<CR>", 'xt')
901 call assert_equal("\"unlet one two", @:) 901 call assert_equal("\"unlet one two", @:)
902 902
903 " completion for the :buffer command with curlies 903 " completion for the :buffer command with curlies
904 edit \{someFile} 904 " FIXME: what should happen on MS-Windows?
905 call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt') 905 if !has('win32')
906 call assert_equal("\"buf {someFile}", @:) 906 edit \{someFile}
907 bwipe {someFile} 907 call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt')
908 call assert_equal("\"buf {someFile}", @:)
909 bwipe {someFile}
910 endif
908 911
909 " completion for the :bdelete command 912 " completion for the :bdelete command
910 call feedkeys(":bdel a b c\<C-A>\<C-B>\"\<CR>", 'xt') 913 call feedkeys(":bdel a b c\<C-A>\<C-B>\"\<CR>", 'xt')
911 call assert_equal("\"bdel a b c", @:) 914 call assert_equal("\"bdel a b c", @:)
912 915