Commit: patch 9.2.0890: test: test for patch v9.2.0888 can be clarified

1 view
Skip to first unread message

Christian Brabandt

unread,
9:15 AM (11 hours ago) 9:15 AM
to vim...@googlegroups.com
patch 9.2.0890: test: test for patch v9.2.0888 can be clarified

Commit: https://github.com/vim/vim/commit/1fe0be29211e1d35f4cfbc287e47bad82e87b8d8
Author: Hirohito Higashi <h.eas...@gmail.com>
Date: Sat Aug 1 10:51:44 2026 +0000

patch 9.2.0890: test: test for patch v9.2.0888 can be clarified

Problem: test for patch v9.2.0888 can be clarified
(zeertzjq)
Solution: use <NL> instead of CTRL-J for a NL

The comment says "A NL", using <NL> makes the intent clearer.

related: #20898
closes: #20906

Co-Authored-By: Claude Opus 5 (1M context) <nor...@anthropic.com>
Signed-off-by: Hirohito Higashi <h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim
index a5e80d72d..8dd33a6fd 100644
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -2313,7 +2313,7 @@ func Test_modifyOtherKeys_after_partial_mapping()
" A NL that was not simplified from the key protocol does not use the
" mapping for CTRL-J.
%d _
- call feedkeys("aa\<C-J>\<Esc>", 'Lx!')
+ call feedkeys("aa\<NL>\<Esc>", 'Lx!')
call assert_equal(['a', ''], getline(1, '$'))

iunmap <C-J>
diff --git a/src/version.c b/src/version.c
index dcec47b10..09996f74b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 890,
/**/
889,
/**/
Reply all
Reply to author
Forward
0 new messages