summaryrefslogtreecommitdiffstats
path: root/src/testdir/test102.in
blob: 35e9f6c2cf4bd7b8fa352150356a17da868a8621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Test if fnameescape is correct for special chars like !

STARTTEST
:%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