vim-patch:9.1.1191: tests: test for patch 9.1.1186 doesn't fail without the patch

Problem:  Test for patch 9.1.1186 doesn't fail without the patch.
Solution: Set 'nomodeline' in the test (zeertzjq).

closes: vim/vim#16835

d6c7913e24
This commit is contained in:
zeertzjq
2025-03-11 06:22:22 +08:00
parent 638b3c0717
commit 4281a514e9
2 changed files with 3 additions and 1 deletions

View File

@@ -643,7 +643,7 @@ 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 'completeopt', highlighting will
|hl-ComplMatchIns|. If fuzzy is enabled in 'completeopt', highlighting will
not be applied.
*complete_CTRL-E*

View File

@@ -1619,6 +1619,7 @@ func Test_haredoc_file()
endfunc
func Test_help_file()
set nomodeline
filetype on
call assert_true(mkdir('doc', 'pR'))
@@ -1633,6 +1634,7 @@ func Test_help_file()
bwipe!
filetype off
set modeline&
endfunc
func Test_hook_file()