mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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:
@@ -1619,6 +1619,7 @@ func Test_haredoc_file()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_help_file()
|
func Test_help_file()
|
||||||
|
set nomodeline
|
||||||
filetype on
|
filetype on
|
||||||
call assert_true(mkdir('doc', 'pR'))
|
call assert_true(mkdir('doc', 'pR'))
|
||||||
|
|
||||||
@@ -1633,6 +1634,7 @@ func Test_help_file()
|
|||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
filetype off
|
filetype off
|
||||||
|
set modeline&
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_hook_file()
|
func Test_hook_file()
|
||||||
|
Reference in New Issue
Block a user