Mercurial > vim
view src/testdir/test_fnameescape.vim @ 17216:11f3cf51d43b v8.1.1608
patch 8.1.1608: the evalfunc.c file is too big
commit https://github.com/vim/vim/commit/f9c85f580b3792f6b95107412972f5360d412ef0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 29 07:41:35 2019 +0200
patch 8.1.1608: the evalfunc.c file is too big
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 Jun 2019 07:45:06 +0200 |
parents | 63b02fcf1361 |
children | 73ddc462979d |
line wrap: on
line source
" Test if fnameescape is correct for special chars like ! func Test_fnameescape() let fname = 'Xspa ce' let status = v:false try exe "w! " . fnameescape(fname) let status = v:true endtry call assert_true(status, "Space") call delete(fname) let fname = 'Xemark!' let status = v:false try exe "w! " . fnameescape(fname) let status = v:true endtry call assert_true(status, "ExclamationMark") call delete(fname) endfunc