Gitiles
Code Review
Sign In
gerrit.omnirom.org
/
android_external_vim
/
2bf4fe07b651e2a72fcfbfdb0719b402ea0b0a10
/
.
/
src
/
testdir
/
test_modeline.vim
blob: f02c68c7b7c41e6e2ff925fd5ec4d2c319650958 [
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
!
call
delete
(
'Xmodeline'
)
endfunc