vim-patch:8.2.3990: testing wrong operator

Problem:    Testing wrong operator.
Solution:   Test "g@" instead of "r_". (Naohiro Ono, closes vim/vim#9463)
5c75eed758
This commit is contained in:
zeertzjq
2022-07-05 17:00:36 +08:00
parent 5fcf701ba1
commit 785422ad54

View File

@@ -428,7 +428,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, '$'))