1
0
forked from aniani/vim
Files
vim/src/testdir/test_modeline.vim

9 lines
217 B
VimL
Raw Normal View History

" Tests for parsing the modeline.
func Test_invalid()
" This was reading before allocated memory.
call writefile(['vi:0', 'nothing'], 'Xmodeline')
call assert_fails('split Xmodeline', 'E518:')
bwipe!
endfunc