view src/testdir/test102.in @ 5897:b5972833add9 v7.4.291

updated for version 7.4.291 Problem: Compiler warning for int to pointer of different size when DEBUG is defined. Solution: use smsg() instead of EMSG3().
author Bram Moolenaar <bram@vim.org>
date Tue, 13 May 2014 16:46:32 +0200
parents 31217cc48e7d
children 6f88e2dafbf6
line wrap: on
line source

Test if fnameescape is correct for special chars like !

STARTTEST
:%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