annotate src/testdir/test_close_count.in @ 10549:055b1633aed7 v8.0.0164

patch 8.0.0164: outdated and misplaced comments commit https://github.com/vim/vim/commit/caa55b65c204946d160c1b743c5f8f3b506dc4d3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 10 13:51:09 2017 +0100 patch 8.0.0164: outdated and misplaced comments Problem: Outdated and misplaced comments. Solution: Fix the comments.
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Jan 2017 14:00:04 +0100
parents 22f95a018b13
children ae45d497868f
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
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :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
7 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :4wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :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
13 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :1close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 :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
17 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 :$close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 :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
21 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 :2close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 :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
26 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 :new
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 :2wincmd w
6472
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6452
diff changeset
31 :-1close!
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 :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
34 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 :2wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 :+1close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 :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
39 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 :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
42 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 :b1
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 STARTTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 :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
50 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 :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
54 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 :4wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 :.hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58 :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
59 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
60 :1hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
62 :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
63 :call add(tests, buffers)
6472
22f95a018b13 updated for version 7.4.565
Bram Moolenaar <bram@vim.org>
parents: 6452
diff changeset
64 :$hide
6408
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
65 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 :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
67 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
68 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
69 :2hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
70 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
71 :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
72 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
73 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
74 :new
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 :3wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77 :-hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 :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
80 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 :2wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
82 :+hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
83 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
84 :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
85 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
87 :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
88 Go
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
90 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
91 :b1
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
94 STARTTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
95 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
96 :set hidden
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
97 :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
98 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
99 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
100 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
101 :$ hide
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
102 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
103 :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
104 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
105 :$-1 close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
106 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
107 :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
108 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
109 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
110 :.+close!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
111 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
112 :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
113 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
114 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
115 :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
116 Go
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
117 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
118 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
119 :b1
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
120 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
121
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
122 STARTTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
123 :let tests = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
124 :set hidden
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
125 :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
126 :new
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
127 :endfor
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
128 :4wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
129 c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
130 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
131 :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
132 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
133 1c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
134 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
135 :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
136 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
137 9c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
138 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
139 :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
140 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
141 :1wincmd w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
142 2c
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
143 :let buffers = []
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
144 :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
145 :call add(tests, buffers)
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
146 :only!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
147 :e! test.out
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
148 :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
149 :w
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
150 :qa!
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
151 ENDTEST
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
152
1e6d87a36dcd Add files added by patch 7.4.530 to the repository.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
153