view src/testdir/test102.in @ 7210:08b50e436093 v7.4.914

commit https://github.com/vim/vim/commit/98b30a473a58ae98c280e0383c8b1e08c0ebced5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 10 15:18:02 2015 +0100 patch 7.4.914 Problem: New compiler warning: logical-not-parentheses Solution: Silence the warning.
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Nov 2015 15:30:05 +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