From 785422ad54b6ce97cdec994862725b2846775e88 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 5 Jul 2022 17:00:36 +0800 Subject: 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 --- src/nvim/testdir/test_normal.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, '$')) -- cgit