]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1191: tests: test for patch 9.1.1186 doesn't fail without the patch v9.1.1191
authorzeertzjq <zeertzjq@outlook.com>
Sun, 9 Mar 2025 15:14:45 +0000 (16:14 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 9 Mar 2025 15:14:45 +0000 (16:14 +0100)
Problem:  Test for patch 9.1.1186 doesn't fail without the patch.
Solution: Set 'nomodeline' in the test (zeertzjq).

closes: #16835

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/insert.txt
src/testdir/test_filetype.vim
src/version.c

index ef21e36737609f0f2bd2ec4ac6d887963792722c..5c0ebcf2e7ba2a33687e3a5fec87246b1e4bf7ad 100644 (file)
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 9.1.  Last change: 2025 Mar 08
+*insert.txt*    For Vim version 9.1.  Last change: 2025 Mar 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -663,8 +663,8 @@ Also see the 'infercase' option if you want to adjust the case of the match.
 
 When inserting a selected candidate word from the |popup-menu|, the part of
 the candidate word that does not match the query is highlighted using
-|hl-ComplMatchIns|. If fuzzy is enabled in 'completopt', highlighting will not
-be applied.
+|hl-ComplMatchIns|.  If fuzzy is enabled in 'completeopt', highlighting will
+not be applied.
 
                                                        *complete_CTRL-E*
 When completion is active you can use CTRL-E to stop it and go back to the
index 754fc8161ad953cab768e13065072118548b9c39..ae69a04e41ef91aeb42642654cf5b52d29b136da 100644 (file)
@@ -1625,6 +1625,7 @@ func Test_haredoc_file()
 endfunc
 
 func Test_help_file()
+  set nomodeline
   filetype on
   call assert_true(mkdir('doc', 'pR'))
 
@@ -1639,6 +1640,7 @@ func Test_help_file()
   bwipe!
 
   filetype off
+  set modeline&
 endfunc
 
 func Test_hook_file()
index fa05cd1741a7d17c9246f59aad969a0afc112388..3e678f1f010c551fc5f5b54ddcdbee2c68ec347a 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1191,
 /**/
     1190,
 /**/