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

@@ -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()