aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-05 17:00:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-05 17:32:42 +0800
commit785422ad54b6ce97cdec994862725b2846775e88 (patch)
treea6318dfe0cd8a43ca6c4b6e57d4c68454285e77f /src
parent5fcf701ba15d1ab4d7a46efaee01bcc52807fae2 (diff)
downloadrneovim-785422ad54b6ce97cdec994862725b2846775e88.tar.gz
rneovim-785422ad54b6ce97cdec994862725b2846775e88.tar.bz2
rneovim-785422ad54b6ce97cdec994862725b2846775e88.zip
vim-patch:8.2.3990: testing wrong operator
Problem: Testing wrong operator. Solution: Test "g@" instead of "r_". (Naohiro Ono, closes vim/vim#9463) https://github.com/vim/vim/commit/5c75eed758fbeb39825834d51f3ee4e08f137af3
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_normal.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim
index edd6e408bd..82ba2cfd48 100644
--- a/src/nvim/testdir/test_normal.vim
+++ b/src/nvim/testdir/test_normal.vim
@@ -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, '$'))