view src/testdir/test102.in @ 8665:7a2346148551 v7.4.1622

commit https://github.com/vim/vim/commit/17b56c9f8327e6869580e3cfd82efcf8966d797a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 20 18:54:19 2016 +0100 patch 7.4.1622 Problem: Channel demo doesn't work with Python 2.6. Solution: Add number in formatting placeholder
author Christian Brabandt <cb@256bit.org>
date Sun, 20 Mar 2016 19:00:06 +0100
parents 6f88e2dafbf6
children
line wrap: on
line source

Test if fnameescape is correct for special chars like !

STARTTEST
:so small.vim
:%d
:let fname = 'Xspa ce'
:try | exe "w! " . fnameescape(fname) | put='Space' | endtry 
:let fname = 'Xemark!'
:try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
:w! test.out
:qa!
ENDTEST