diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-16 10:05:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-16 10:05:41 +0000 |
commit | 6ecf58b0d7d9b8fbba780d19d2e6c0f227df715b (patch) | |
tree | 3fc653a67501070d0672e4c0e073f99610e35aa1 | |
parent | 2d877599ee1cede063ef4abe3a2272e67c116238 (diff) |
patch 8.2.3823: test for visual replace is in wrong functionv8.2.3823
Problem: Test for visual replace is in wrong function.
Solution: Move it to another function.
-rw-r--r-- | src/testdir/test_visual.vim | 9 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim index ed8efc5ded..e40be5dede 100644 --- a/src/testdir/test_visual.vim +++ b/src/testdir/test_visual.vim @@ -234,10 +234,6 @@ func Test_virtual_replace() call assert_equal("\txaaaa", getline(1)) set softtabstop& - call setline(1, "xã̳x") - normal gg0lvrb - call assert_equal("xbx", getline(1)) - enew! set noai bs&vim if exists('save_t_kD') @@ -669,6 +665,11 @@ func Test_characterwise_visual_mode() normal v$rx call assert_equal(['x'], getline(1, '$')) + " replace a character with composing characters + call setline(1, "xã̳x") + normal gg0lvrb + call assert_equal("xbx", getline(1)) + bwipe! endfunc diff --git a/src/version.c b/src/version.c index 7467b7c912..0e7a67dfca 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3823, +/**/ 3822, /**/ 3821, |