mirror of
https://github.com/neovim/neovim.git
synced 2026-07-18 07:01:19 +00:00
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:
@@ -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, '$'))
|
||||
|
||||
Reference in New Issue
Block a user