forked from aniani/vim
9 lines
217 B
VimL
9 lines
217 B
VimL
![]() |
" 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
|