view src/testdir/test102.in @ 10015:5ac2dd61ca8f v7.4.2280

commit https://github.com/vim/vim/commit/e999782e369999539a1783a7ebe4eadcc6da28a8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 16:03:38 2016 +0200 patch 7.4.2280 Problem: printf() doesn't handle infinity float values correctly. Solution: Add a table with possible infinity values. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Aug 2016 16:15:04 +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