summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaohiro ono <obcat@icloud.com>2022-01-03 11:15:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-03 11:15:47 +0000
commit5c75eed758fbeb39825834d51f3ee4e08f137af3 (patch)
tree8549d8cb81d9558761558805f1ca6674bb7a2ddc
parente982586f8eebf2b055987218f6d3f7a084c4bf69 (diff)
downloadvim-git-5c75eed758fbeb39825834d51f3ee4e08f137af3.tar.gz
patch 8.2.3990: testing wrong operatorv8.2.3990
Problem: Testing wrong operator. Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
-rw-r--r--src/testdir/test_normal.vim2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim
index 90b7f9d9b..4a09964e9 100644
--- a/src/testdir/test_normal.vim
+++ b/src/testdir/test_normal.vim
@@ -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, '$'))
diff --git a/src/version.c b/src/version.c
index 6cff7cc5f..6ad109033 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3990,
+/**/
3989,
/**/
3988,