]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0890: test: test for patch v9.2.0888 can be clarified v9.2.0890
authorHirohito Higashi <h.east.727@gmail.com>
Sat, 1 Aug 2026 10:51:44 +0000 (10:51 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 1 Aug 2026 10:51:44 +0000 (10:51 +0000)
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) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_termcodes.vim
src/version.c

index a5e80d72d1a24500105f09a4fa4dcb21fa1770f8..8dd33a6fd75b16aa7237b94b7d8a80b9a19d553e 100644 (file)
@@ -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>
index dcec47b1065f3381c1c3ad7026c7806175951582..09996f74bd94388b7a85f5bff61ed49b912c4a84 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    890,
 /**/
     889,
 /**/