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:
committed by
Bram Moolenaar
parent
e982586f8e
commit
5c75eed758
@@ -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, '$'))
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3990,
|
||||
/**/
|
||||
3989,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user