view src/testdir/test102.in @ 6967:20ed78fab428 v7.4.801

patch 7.4.801 Problem: Test for ":diffoff" doesn't catch all potential problems. Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz)
author Bram Moolenaar <bram@vim.org>
date Tue, 28 Jul 2015 14:42:45 +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