annotate src/testdir/test6.in @ 9760:96667173293d v7.4.2155

commit https://github.com/vim/vim/commit/9d5b876d458e242b8b5e44da10c5cdc6bbb7f57c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 4 21:21:13 2016 +0200 patch 7.4.2155 Problem: Quotes make GUI test fail on MS-Windows. Solution: Remove quotes, strip white space.
author Christian Brabandt <cb@256bit.org>
date Thu, 04 Aug 2016 21:30:07 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Test for autocommand that redefines the argument list, when doing ":all".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 :au BufReadPost Xxx2 next Xxx2 Xxx1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 /^start of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 A1:.,/end of/w! Xxx1 " write test file Xxx1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 $r2:.,/end of/w! Xxx2 " write test file Xxx2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 $r3:.,/end of/w! Xxx3 " write test file Xxx3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :next! Xxx1 Xxx2 Xxx3 " redefine arglist; go to Xxx1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :all " open window for all args
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :w! test.out " Write contents of Xxx1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :w >>test.out " Append contents of last window (Xxx1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :rew " should now be in Xxx2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :w >>test.out " Append contents of Xxx2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 start of test file Xxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 end of test file Xxx