Mercurial > vim
annotate src/testdir/test62.ok @ 8785:1cb59cd2d382 v7.4.1681
commit https://github.com/vim/vim/commit/ef9d9b94a8803c405884bb6914ed745ede57c596
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 22:44:50 2016 +0200
patch 7.4.1681
Problem: Coverity warns for fixed size buffer length (false positive).
Solution: Add a check for the name length.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Mar 2016 22:45:08 +0200 |
parents | c0bc9b60fb8a |
children |
rev | line source |
---|---|
856 | 1 Results: |
2 tab page 2 | |
3 this is tab page 3 | |
4 this is tab page 1 | |
5 this is tab page 4 | |
2240
6b4879aea261
Add test for gettabvar() and settabvar().
Bram Moolenaar <bram@vim.org>
parents:
856
diff
changeset
|
6 gettabvar: pass |
6b4879aea261
Add test for gettabvar() and settabvar().
Bram Moolenaar <bram@vim.org>
parents:
856
diff
changeset
|
7 settabvar: pass |
3380 | 8 tab drop 1: pass |
9 tab drop 2: pass | |
10 tab drop 3: pass | |
3662 | 11 1 |
6775 | 12 5 |
13 5 | |
3662 | 14 4 |
6775 | 15 5 |
16 3 | |
17 7 | |
18 10 | |
19 1 | |
20 10 | |
21 1 | |
3662 | 22 10 |
23 1 | |
24 10 | |
25 4 | |
6775 | 26 5 |
3662 | 27 E474 caught. |
4354 | 28 === tab split === |
29 WinLeave | |
30 TabLeave | |
31 WinEnter | |
32 TabEnter | |
33 === tabnew === | |
34 WinLeave | |
35 TabLeave | |
36 WinEnter | |
37 TabEnter | |
38 BufLeave | |
39 BufEnter | |
40 a b c | |
5186
bea5eb942011
updated for version 7.4a.019
Bram Moolenaar <bram@vim.org>
parents:
4354
diff
changeset
|
41 === call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)') === |
bea5eb942011
updated for version 7.4a.019
Bram Moolenaar <bram@vim.org>
parents:
4354
diff
changeset
|
42 2 4 6 |
4354 | 43 === vsplit === |
44 WinLeave | |
45 WinEnter | |
46 === tabnext 1 === | |
47 BufLeave | |
48 WinLeave | |
49 TabLeave | |
50 WinEnter | |
51 TabEnter | |
52 BufEnter | |
53 a a | |
5186
bea5eb942011
updated for version 7.4a.019
Bram Moolenaar <bram@vim.org>
parents:
4354
diff
changeset
|
54 === call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)') === |
bea5eb942011
updated for version 7.4a.019
Bram Moolenaar <bram@vim.org>
parents:
4354
diff
changeset
|
55 2 4 |
4354 | 56 === tabnext 3 === |
57 BufLeave | |
58 WinLeave | |
59 TabLeave | |
60 WinEnter | |
61 TabEnter | |
62 === tabnext 2 === | |
63 === tabclose 3 === | |
64 2/2 | |
65 === tabnew === | |
66 WinLeave | |
67 TabLeave | |
68 WinEnter | |
69 TabEnter | |
70 BufLeave | |
71 BufEnter | |
72 === tabnext 1 === | |
73 BufLeave | |
74 WinLeave | |
75 TabLeave | |
76 WinEnter | |
77 TabEnter | |
78 BufEnter | |
79 === tabnext 3 === | |
80 BufLeave | |
81 WinLeave | |
82 TabLeave | |
83 WinEnter | |
84 TabEnter | |
85 === tabnext 2 === | |
86 BufLeave | |
87 WinLeave | |
88 TabLeave | |
89 WinEnter | |
90 TabEnter | |
91 === tabnext 2 === | |
92 === tabclose 3 === | |
93 BufEnter | |
94 === tabclose 3 === | |
95 2/2 |