Gitiles
Code Review
Sign In
gerrit.omnirom.org
/
android_external_vim
/
cd96eef3a869557bd3d2d4497861d87cb525db06
/
.
/
src
/
testdir
/
test_modeline.vim
blob: e278c16132374205b19a369197de14b8a8517f98 [
file
] [
log
] [
blame
]
" Tests for parsing the modeline.
func Test_modeline_invalid()
"
This
was reading before allocated memory
.
call writefile
([
'vi:0'
,
'nothing'
],
'Xmodeline'
)
call assert_fails
(
'split Xmodeline'
,
'E518:'
)
bwipe
!
endfunc