comparison src/testdir/test_normal.vim @ 29369:b1f345ec827e v9.0.0027

patch 9.0.0027: the command line test is getting quite big Commit: https://github.com/vim/vim/commit/2d2950198231a31bf87c1cd4322099cc36b0bb93 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 2 16:29:34 2022 +0100 patch 9.0.0027: the command line test is getting quite big Problem: The command line test is getting quite big. Solution: Move command line window tests to a separate file.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Jul 2022 17:30:02 +0200
parents 432e1535ef2c
children 23f44007f65d
comparison
equal deleted inserted replaced
29368:8828385b55da 29369:b1f345ec827e
2942 exe ":norm! \<c-\>\<c-n>dw" 2942 exe ":norm! \<c-\>\<c-n>dw"
2943 set noim 2943 set noim
2944 call assert_equal('are some words', getline(1)) 2944 call assert_equal('are some words', getline(1))
2945 call assert_false(&insertmode) 2945 call assert_false(&insertmode)
2946 call assert_beeps("normal! \<C-\>\<C-A>") 2946 call assert_beeps("normal! \<C-\>\<C-A>")
2947
2948 if has('cmdwin')
2949 " Using CTRL-\ CTRL-N in cmd window should close the window
2950 call feedkeys("q:\<C-\>\<C-N>", 'xt')
2951 call assert_equal('', getcmdwintype())
2952 endif
2953 2947
2954 " clean up 2948 " clean up
2955 bw! 2949 bw!
2956 endfunc 2950 endfunc
2957 2951