annotate src/testdir/test102.in @ 5737:e25a04c1c515
v7.4.213
updated for version 7.4.213
Problem: It's not possible to open a new buffer without creating a swap
file.
Solution: Add the ":noswapfile" modifier. (Christian Brabandt)
author |
Bram Moolenaar <bram@vim.org> |
date |
Sun, 23 Mar 2014 16:04:02 +0100 |
parents |
31217cc48e7d |
children |
6f88e2dafbf6 |
rev |
line source |
5481
|
1 Test if fnameescape is correct for special chars like !
|
|
2
|
|
3 STARTTEST
|
|
4 :%d
|
|
5 :let fname = 'Xspa ce'
|
|
6 :try | exe "w! " . fnameescape(fname) | put='Space' | endtry
|
|
7 :let fname = 'Xemark!'
|
|
8 :try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
|
|
9 :w! test.out
|
|
10 :qa!
|
|
11 ENDTEST
|
|
12
|