view src/testdir/test102.in @ 8138:f52504c10387 v7.4.1363

commit https://github.com/vim/vim/commit/065bbac8adfe29a09958570237d223457f235c6c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 20 13:08:46 2016 +0100 patch 7.4.1363 Problem: Compiler warnings with tiny build. Solution: Add #ifdefs.
author Christian Brabandt <cb@256bit.org>
date Sat, 20 Feb 2016 13:15:04 +0100
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