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)
diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim
index 242dfd4..0f50221 100644
--- a/src/testdir/test_registers.vim
+++ b/src/testdir/test_registers.vim
@@ -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 @@
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()
diff --git a/src/version.c b/src/version.c
index 2fa4704..3d8f86c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1174,
+/**/
1173,
/**/
1172,