mirror of
https://github.com/vim/vim.git
synced 2026-02-10 20:26:43 +01:00
Problem: Test 102 fails when compiled with small features. Solution: Source small.vim. (Jacob Niehus)
14 lines
291 B
Plaintext
14 lines
291 B
Plaintext
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
|
|
|