annotate src/testdir/test102.in @ 7274:1348502cbf8f
Added tag v7.4.942 for changeset 73207eca53f5aa00133bfb880918710f2cc218d4
author |
Christian Brabandt <cb@256bit.org> |
date |
Thu, 26 Nov 2015 08:22:10 +0100 |
parents |
6f88e2dafbf6 |
children |
|
rev |
line source |
5481
|
1 Test if fnameescape is correct for special chars like !
|
|
2
|
|
3 STARTTEST
|
6092
|
4 :so small.vim
|
5481
|
5 :%d
|
|
6 :let fname = 'Xspa ce'
|
|
7 :try | exe "w! " . fnameescape(fname) | put='Space' | endtry
|
|
8 :let fname = 'Xemark!'
|
|
9 :try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
|
|
10 :w! test.out
|
|
11 :qa!
|
|
12 ENDTEST
|
|
13
|