0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3990: testing wrong operator

Problem:    Testing wrong operator.
Solution:   Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
This commit is contained in:
naohiro ono
2022-01-03 11:15:47 +00:00
committed by Bram Moolenaar
parent e982586f8e
commit 5c75eed758
2 changed files with 3 additions and 1 deletions

View File

@@ -486,7 +486,7 @@ func Test_normal09c_operatorfunc()
set operatorfunc=Underscorize
new
call setline(1, ['first', 'first', 'third', 'third', 'second'])
normal! 1GVjr_
normal! 1GVjg@
normal! 5G.
normal! 3G.
call assert_equal(['_____', '_____', '_____', '_____', '______'], getline(1, '$'))

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3990,
/**/
3989,
/**/