annotate src/testdir/test102.in @ 6136:1134bba900c1 v7.4.406

updated for version 7.4.406 Problem: Test 72 and 100 fail on MS-Windows. Solution: Set fileformat to unix in the tests. (Taro Muraoka)
author Bram Moolenaar <bram@vim.org>
date Sat, 16 Aug 2014 17:34:34 +0200
parents 6f88e2dafbf6
children
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
6092
6f88e2dafbf6 updated for version 7.4.384
Bram Moolenaar <bram@vim.org>
parents: 5481
diff changeset
4 :so small.vim
5481
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :%d
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :let fname = 'Xspa ce'
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :try | exe "w! " . fnameescape(fname) | put='Space' | endtry
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :let fname = 'Xemark!'
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :w! test.out
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :qa!
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 ENDTEST
31217cc48e7d updated for version 7.4.090
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13