Mercurial > vim
annotate src/testdir/test_increment.ok @ 7160:accd3a0e9bf4 v7.4.891
commit https://github.com/vim/vim/commit/089af18d1fd0961ff504ee72db0156bbfe509cdf
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 7 11:41:49 2015 +0200
patch 7.4.891
Problem: Indentation of array initializer is wrong.
Solution: Avoid that calling find_start_rawstring() changes the position
returned by find_start_comment(), add a test. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 07 Oct 2015 11:45:06 +0200 |
parents | 05afb5be93bd |
children | ad432f8f68fb |
rev | line source |
---|---|
6868 | 1 # Test 1 |
2 S1====== | |
3 foobar-10 | |
4 E1====== | |
5 | |
6 foobar-9 | |
7 foobar-9 | |
8 foobar-11 | |
9 foobar-11 | |
10 foobar-9 | |
11 | |
12 | |
13 # Test 2 | |
14 S2===== | |
15 10 | |
16 20 | |
17 30 | |
18 40 | |
19 E2===== | |
20 | |
21 11 | |
22 21 | |
23 31 | |
24 41 | |
25 | |
26 9 | |
27 19 | |
28 29 | |
29 39 | |
30 | |
31 # Test 3 | |
32 S3===== | |
33 10 | |
34 | |
35 20 | |
36 | |
37 30 | |
38 | |
39 40 | |
40 E3===== | |
41 | |
42 12 | |
43 | |
44 24 | |
45 | |
46 36 | |
47 | |
48 48 | |
49 | |
50 8 | |
51 | |
52 16 | |
53 | |
54 24 | |
55 | |
56 32 | |
57 | |
58 # Test 4 | |
59 S4===== | |
60 foobar-10 | |
61 E4===== | |
62 | |
63 foobar-10 | |
64 | |
6891 | 65 |
66 # Test 5 | |
67 S5==== | |
68 a | |
69 a | |
70 a | |
71 a | |
72 E5==== | |
73 | |
74 b | |
75 c | |
76 d | |
77 e | |
78 | |
79 # Test 6 | |
80 S6==== | |
81 z | |
82 z | |
83 z | |
84 z | |
85 E6==== | |
86 | |
87 y | |
88 x | |
89 w | |
90 v | |
91 | |
92 | |
93 # Test 7 | |
94 S7==== | |
95 2 | |
96 1 | |
97 0 | |
98 -1 | |
99 -2 | |
100 E7==== | |
101 | |
102 3 | |
103 2 | |
104 1 | |
105 0 | |
106 -1 | |
107 | |
108 1 | |
109 0 | |
110 -1 | |
111 -2 | |
112 -3 | |
113 | |
114 # Test 8 | |
115 S8==== | |
116 0x9 | |
117 0x9 | |
118 E8==== | |
119 | |
120 0xa | |
121 0xa | |
122 | |
123 0xa | |
124 0xa | |
125 | |
126 | |
127 # Test 9 | |
128 S9==== | |
129 2 | |
130 2 | |
131 | |
132 3 | |
133 3 | |
134 | |
135 E9==== | |
136 | |
137 4 | |
138 4 | |
139 | |
140 5 | |
141 5 | |
142 | |
143 | |
144 | |
145 | |
146 # Test 10 | |
147 S10==== | |
148 1 | |
149 1 | |
150 1 | |
151 1 | |
152 E10==== | |
153 | |
154 0 | |
155 -1 | |
156 -2 | |
157 -3 | |
158 | |
159 | |
160 | |
161 # Test 11 | |
162 S11==== | |
163 1 | |
164 1 | |
165 1 | |
166 1 | |
167 E11==== | |
168 | |
169 2 | |
170 1 | |
171 3 | |
172 4 | |
173 | |
174 | |
175 # Test 12 | |
176 S12==== | |
177 0 0 | |
178 0 0 | |
179 0 0 | |
180 E12==== | |
181 | |
182 0 1 | |
183 1 0 | |
184 1 0 | |
185 | |
186 | |
6927 | 187 # Test 13 |
188 S13==== | |
189 max: 100px | |
190 max: 200px | |
191 max: 300px | |
192 max: 400px | |
193 E13==== | |
6891 | 194 |
6927 | 195 max: 110px |
196 max: 210px | |
197 max: 310px | |
198 max: 400px | |
199 | |
200 max: 90px | |
201 max: 190px | |
202 max: 290px | |
203 max: 400px | |
204 | |
205 # Test 14 | |
206 S14==== | |
207 1 1 | |
208 1 1 | |
209 E14==== | |
210 | |
211 2 2 | |
212 2 2 | |
213 | |
214 | |
215 # Test 15 | |
216 S15==== | |
217 101 | |
218 E15==== | |
219 | |
220 111 | |
221 | |
222 | |
223 # Test 16 | |
224 S16==== | |
225 1 | |
226 19 | |
227 119 | |
228 E16==== | |
229 | |
230 2 | |
231 20 | |
232 120 | |
233 | |
234 | |
235 # Test 17 | |
236 S17==== | |
237 100 | |
238 1 | |
239 | |
240 100 | |
241 1 | |
242 E17==== | |
243 | |
244 101 | |
245 2 | |
246 | |
247 101 | |
248 1 | |
249 | |
250 # Test 18 | |
251 S18==== | |
252 0 | |
253 0 | |
254 0 | |
255 0 | |
256 E18==== | |
257 | |
258 3 | |
259 6 | |
260 9 | |
261 12 | |
6891 | 262 |
263 | |
6977 | 264 # Test 19 |
265 S19==== | |
266 1 | |
267 1a | |
268 E19==== | |
269 | |
270 2 | |
271 2a | |
272 | |
6891 | 273 |
7011 | 274 # Test 20 |
275 S20==== | |
276 a | |
277 E20==== | |
278 | |
279 b | |
280 1 | |
281 | |
282 | |
7072
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
283 # Test 21 |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
284 S21==== |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
285 0x123456 |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
286 E21==== |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
287 |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
288 0x124456 |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
289 |
05afb5be93bd
commit https://github.com/vim/vim/commit/5adfea1ac63e252556bccce54e92e8e10b58f592
Christian Brabandt <cb@256bit.org>
parents:
7011
diff
changeset
|
290 |
6891 | 291 |
6868 | 292 ENDTEST |
293 |