annotate src/testdir/test102.in @ 6047:ff3816167b73 v7.4.363

updated for version 7.4.363 Problem: In Windows console typing 0xCE does not work. Solution: Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.)
author Bram Moolenaar <bram@vim.org>
date Wed, 09 Jul 2014 20:51:07 +0200
parents 31217cc48e7d
children 6f88e2dafbf6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5481
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Test if fnameescape is correct for special chars like !
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :%d
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :let fname = 'Xspa ce'
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :try | exe "w! " . fnameescape(fname) | put='Space' | endtry
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :let fname = 'Xemark!'
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :w! test.out
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :qa!
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 ENDTEST
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12