From 0e913a08129b3e0e4d2d81eb424c9481c7aaee1c Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 28 Dec 2020 13:46:54 -0500 Subject: vim-patch:8.2.2234: command line wildmenu test often fails with Unix GUI Problem: Command line wildmenu test often fails with Unix GUI. Solution: Skip the test where it is expected to fail. https://github.com/vim/vim/commit/3e112acc220dcacb58d77edca71910a532fffd0f Include modeline fix for ASAN build. N/A patches for version.c: vim-patch:8.2.1785: compiler warning for strcp() out of bounds Problem: Compiler warning for strcp() out of bounds. (Christian Brabandt) Solution: use memmove() instead. https://github.com/vim/vim/commit/3f974ff45e0ea4b85fea7d8768f005d8a2c7941e vim-patch:8.2.2235: build failure with some Ruby versions Problem: Build failure with some Ruby versions. Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes vim/vim#7564) https://github.com/vim/vim/commit/dace9f785fca6cc802b2fb7f11a5ee4fab896432 vim-patch:8.2.2237: CI on Mac fails in sed command Problem: CI on Mac fails in sed command. Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes vim/vim#7565) https://github.com/vim/vim/commit/ed1e4c9a70aaa7de56bac23e75a846e874a32a56 vim-patch:8.2.2241: Build with Ruby and clang may fail Problem: Build with Ruby and clang may fail. Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes vim/vim#7566) https://github.com/vim/vim/commit/864a28b6a6ae4f1a56e230be26bc6d13e3f8b3d9 --- src/nvim/testdir/test_cmdline.vim | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index bb0cae4819..39f865144a 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -51,18 +51,21 @@ func Test_complete_wildmenu() call feedkeys(":e Xdir1/\\\\\", 'tx') call assert_equal('testfile1', getline(1)) - + " / mappings to go up/down directories when 'wildcharm' is - " different than 'wildchar'. - set wildcharm= - cnoremap - cnoremap - call feedkeys(":e Xdir1/\\\", 'tx') - call assert_equal('testfile3', getline(1)) - call feedkeys(":e Xdir1/\\\\", 'tx') - call assert_equal('testfile1', getline(1)) - set wildcharm=0 - cunmap - cunmap + " this fails in some Unix GUIs, not sure why + if !has('unix') || !has('gui_running') + " / mappings to go up/down directories when 'wildcharm' is + " different than 'wildchar'. + set wildcharm= + cnoremap + cnoremap + call feedkeys(":e Xdir1/\\\", 'tx') + call assert_equal('testfile3', getline(1)) + call feedkeys(":e Xdir1/\\\\", 'tx') + call assert_equal('testfile1', getline(1)) + set wildcharm=0 + cunmap + cunmap + endif " cleanup %bwipe @@ -1001,4 +1004,4 @@ func Test_read_shellcmd() endif endfunc -" vim: shiftwidth=2 sts=2 expandtab " vim: shiftwidth=2 sts=2 expandtab +" vim: shiftwidth=2 sts=2 expandtab -- cgit