view src/testdir/test102.in @ 8777:a345060d671a v7.4.1677

commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 28 22:05:47 2016 +0200 patch 7.4.1677 Problem: A reference to the removed file_select plugin remains. Solution: Remove it.
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Mar 2016 22:15:07 +0200
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