Mercurial > vim
view src/testdir/test_modeline.vim @ 14387:68722ba52971 v8.1.0208
patch 8.1.0208: file left behind after running individual test
commit https://github.com/vim/vim/commit/7624af02948de881eb5294fe5d266b948404d489
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 24 04:51:20 2018 +0200
patch 8.1.0208: file left behind after running individual test
Problem: File left behind after running individual test.
Solution: Delete the file.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Jul 2018 05:00:05 +0200 |
parents | 8846b8344430 |
children | 85467d180844 |
line wrap: on
line source
" 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