annotate src/testdir/test102.in @ 6999:dc1b678f0e4e
v7.4.817
patch 7.4.817
Problem: Invalid memory access in file_pat_to_reg_pat().
Solution: Use vim_isspace() instead of checking for a space only. (Dominique
Pelle)
author |
Bram Moolenaar <bram@vim.org> |
date |
Tue, 11 Aug 2015 16:20:05 +0200 |
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
|