From 4281a514e9b751a5a83b29659bdcc9dd8fcd5d06 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 11 Mar 2025 06:22:22 +0800 Subject: 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 https://github.com/vim/vim/commit/d6c7913e24e07c1d0ea099cda85e0014e8627c5c --- test/old/testdir/test_filetype.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 0355956447..3d8772e477 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -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() -- cgit