annotate src/testdir/test_close_count.in @ 11126:48599a3eae0b

Added tag v8.0.0450 for changeset 6f52cc87fe15ef308bc5b77062294d20eec28b25
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Mar 2017 18:45:05 +0100
parents ae45d497868f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for :[count]close! and :[count]hide vim: set ft=vim :
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
6452
c12439378869 updated for version 7.4.555
Bram Moolenaar <bram@vim.org>
parents: 6408
diff changeset
4 :so small.vim
11091
ae45d497868f patch 8.0.0433: beeps when running tests
Christian Brabandt <cb@256bit.org>
parents: 6472
diff changeset
5 :set belloff=all
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :for i in range(5)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :4wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :1close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 :$close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 :2close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 :2wincmd w
6472
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6452
diff changeset
32 :-1close!
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 :2wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 :+1close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 :call append(0, map(copy(tests), 'join(v:val, " ")'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 :b1
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 STARTTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 :for i in range(5)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 :4wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 :.hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
59 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
60 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 :1hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
62 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
63 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
64 :call add(tests, buffers)
6472
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6452
diff changeset
65 :$hide
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
67 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
68 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
69 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
70 :2hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
71 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
72 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
73 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
74 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
75 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
76 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77 :3wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 :-hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
80 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
82 :2wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
83 :+hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
84 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
85 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
87 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
88 :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89 Go
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
90 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
91 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 :b1
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
94
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
95 STARTTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
96 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
97 :set hidden
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
98 :for i in range(5)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
99 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
100 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
101 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
102 :$ hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
103 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
104 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
105 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
106 :$-1 close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
107 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
108 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
109 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
110 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
111 :.+close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
112 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
113 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
114 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
115 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
116 :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
117 Go
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
118 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
119 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
120 :b1
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
121 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
122
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
123 STARTTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
124 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
125 :set hidden
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
126 :for i in range(5)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
127 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
128 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
129 :4wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
130 c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
131 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
132 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
133 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
134 1c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
135 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
136 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
137 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
138 9c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
139 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
140 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
141 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
142 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
143 2c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
144 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
145 :windo call add(buffers, bufnr('%'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
146 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
147 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
148 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
149 :call append(line('$'), map(copy(tests), 'join(v:val, " ")'))
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
150 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
151 :qa!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
152 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
153
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
154