mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.1174: no test for the "recording @x" message
Problem: No test for the "recording @x" message. Solution: Add a test. (Dominique Pellé, closes #6427)
This commit is contained in:
parent
4004315292
commit
11a5b19a8c
@ -3,6 +3,7 @@
|
||||
"
|
||||
|
||||
source check.vim
|
||||
source view_util.vim
|
||||
|
||||
" This test must be executed first to check for empty and unset registers.
|
||||
func Test_aaa_empty_reg_test()
|
||||
@ -164,6 +165,19 @@ func Test_register_one()
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
func Test_recording_status_in_ex_line()
|
||||
norm qx
|
||||
redraw!
|
||||
call assert_equal('recording @x', Screenline(&lines))
|
||||
set shortmess=q
|
||||
redraw!
|
||||
call assert_equal('recording', Screenline(&lines))
|
||||
set shortmess&
|
||||
norm q
|
||||
redraw!
|
||||
call assert_equal('', Screenline(&lines))
|
||||
endfunc
|
||||
|
||||
" Check that replaying a typed sequence does not use an Esc and following
|
||||
" characters as an escape sequence.
|
||||
func Test_recording_esc_sequence()
|
||||
|
@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1174,
|
||||
/**/
|
||||
1173,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user