view src/testdir/test102.in @ 5770:839cca5ec18d v7.4.229

updated for version 7.4.229 Problem: Using ":let" for listing variables and the second one is a curly braces expression may fail. Solution: Check for an "=" in a better way. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 30 Mar 2014 16:49:09 +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