comparison src/testdir/test_diffmode.vim @ 27626:95d6e3c9aa1e v8.2.4339

patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu Commit: https://github.com/vim/vim/commit/560dff49c0095111fc96b4b8dd7f4d269aba9473 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Feb 10 19:52:10 2022 +0000 patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu Problem: CTRL-A does not work properly with the cmdline popup menu. Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup menu. Remove TermWait() before VeriryScreenDump(). Refactor the cmdline popup code. (Yegappan Lakshmanan, closes #9735)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Feb 2022 21:00:04 +0100
parents 722db0819111
children 27ae8ea82d7a
comparison
equal deleted inserted replaced
27625:bba604950a7e 27626:95d6e3c9aa1e
849 " Verify a screendump with the internal diff only. 849 " Verify a screendump with the internal diff only.
850 func VerifyInternal(buf, dumpfile, extra) 850 func VerifyInternal(buf, dumpfile, extra)
851 call term_sendkeys(a:buf, ":diffupdate!\<CR>") 851 call term_sendkeys(a:buf, ":diffupdate!\<CR>")
852 " trailing : for leaving the cursor on the command line 852 " trailing : for leaving the cursor on the command line
853 call term_sendkeys(a:buf, ":set diffopt=internal,filler" . a:extra . "\<CR>:") 853 call term_sendkeys(a:buf, ":set diffopt=internal,filler" . a:extra . "\<CR>:")
854 call TermWait(a:buf)
855 call VerifyScreenDump(a:buf, a:dumpfile, {}) 854 call VerifyScreenDump(a:buf, a:dumpfile, {})
856 endfunc 855 endfunc
857 856
858 func Test_diff_screen() 857 func Test_diff_screen()
859 let g:test_is_flaky = 1 858 let g:test_is_flaky = 1