diff options
Diffstat (limited to 'src/testdir/test102.in')
-rw-r--r-- | src/testdir/test102.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testdir/test102.in b/src/testdir/test102.in new file mode 100644 index 000000000..35e9f6c2c --- /dev/null +++ b/src/testdir/test102.in @@ -0,0 +1,12 @@ +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 + |