Skip to content

Commit cafaa58

Browse files
committed
updated for version 7.4a.019
Problem: Invalid closing parenthesis in test 62. Command truncated at double quote. Solution: Remove the parenthesis. Change double quote to ''. (ZyX)
1 parent c282182 commit cafaa58

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/testdir/test62.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ STARTTEST
3636
:call settabvar(2, 'val_list', ['red', 'blue', 'green'])
3737
:"
3838
:let test_status = 'gettabvar: fail'
39-
:if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green'])
39+
:if gettabvar(2, 'val_num') == 100 && gettabvar(2, 'val_str') == 'SetTabVar test') && gettabvar(2, 'val_list') == ['red', 'blue', 'green']
4040
: let test_status = 'gettabvar: pass'
4141
:endif
4242
:call append(line('$'), test_status)
@@ -146,7 +146,7 @@ i=a
146146
endif
147147
let t:a='c'
148148
call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
149-
C call map(range(1, tabpagenr('$')), 'settabvar(v:val, "a", v:val*2)')
149+
C call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)')
150150
call add(g:r, join(map(range(1, tabpagenr('$')), 'gettabvar(v:val, "a")')))
151151
let w:a='a'
152152
C vsplit
@@ -161,7 +161,7 @@ i=a
161161
let g:r+=['BufLeave', 'WinLeave', 'TabLeave', 'WinEnter', 'TabEnter', 'BufEnter']
162162
endif
163163
call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
164-
C call map(copy(winr), 'settabwinvar('.tabn.', v:val, "a", v:val*2)')
164+
C call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)')
165165
call add(g:r, join(map(copy(winr), 'gettabwinvar('.tabn.', v:val, "a")')))
166166
if hasau
167167
augroup TabDestructive

src/testdir/test62.ok

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ TabEnter
3131
BufLeave
3232
BufEnter
3333
a b c
34-
=== call map(range(1, tabpagenr('$')), 'settabvar(v:val, ===
35-
a b c
34+
=== call map(range(1, tabpagenr('$')), 'settabvar(v:val, ''a'', v:val*2)') ===
35+
2 4 6
3636
=== vsplit ===
3737
WinLeave
3838
WinEnter
@@ -44,8 +44,8 @@ WinEnter
4444
TabEnter
4545
BufEnter
4646
a a
47-
=== call map(copy(winr), 'settabwinvar('.tabn.', v:val, ===
48-
a a
47+
=== call map(copy(winr), 'settabwinvar('.tabn.', v:val, ''a'', v:val*2)') ===
48+
2 4
4949
=== tabnext 3 ===
5050
BufLeave
5151
WinLeave

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ static char *(features[]) =
727727

728728
static int included_patches[] =
729729
{ /* Add new patch number below this line */
730+
/**/
731+
19,
730732
/**/
731733
18,
732734
/**/

0 commit comments

Comments
 (0)