Skip to content

Commit

Permalink
updated for version 7.3.962
Browse files Browse the repository at this point in the history
Problem:    Python tests are not portable.
Solution:   Use shiftwidth instead of iminsert. (ZyX)
  • Loading branch information
brammool committed May 17, 2013
1 parent c24c1ac commit 55b8ad3
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 21 deletions.
4 changes: 2 additions & 2 deletions src/testdir/test86.in
Expand Up @@ -354,7 +354,7 @@ EOF
:" colorcolumn: string, window-local
:" statusline: string, window-local/global
:" autoindent: boolean, buffer-local
:" iminsert: number, buffer-local
:" shiftwidth: number, buffer-local
:" omnifunc: string, buffer-local
:" preserveindent: boolean, buffer-local/global
:" path: string, buffer-local/global
Expand Down Expand Up @@ -411,7 +411,7 @@ EOF
:let lst+=[['colorcolumn', '+1', '+2', '+3', 'abc', 0, 0, 1 ]]
:let lst+=[['statusline', '1', '2', '4', 0, 0, 1, 1 ]]
:let lst+=[['autoindent', 0, 1, 1, 2, 1, 0, 2 ]]
:let lst+=[['iminsert', 0, 2, 1, 3, 0, 0, 2 ]]
:let lst+=[['shiftwidth', 0, 2, 1, 3, 0, 0, 2 ]]
:let lst+=[['omnifunc', 'A', 'B', 'C', 1, 0, 0, 2 ]]
:let lst+=[['preserveindent', 0, 1, 1, 2, 1, 1, 2 ]]
:let lst+=[['path', '.,,', ',,', '.', 0, 0, 1, 2 ]]
Expand Down
18 changes: 9 additions & 9 deletions src/testdir/test86.ok
Expand Up @@ -232,7 +232,7 @@ jkl
G: 0
W: 1:0 2:1 3:0 4:1
B: 1:0 2:1 3:0 4:1
>>> iminsert
>>> shiftwidth
p/gopts1! KeyError
inv: 3! KeyError
gopts1! KeyError
Expand All @@ -241,15 +241,15 @@ jkl
wopts1! KeyError
wopts2! KeyError
wopts3! KeyError
p/bopts1: 2
G: 1
W: 1:0 2:2 3:2 4:1
B: 1:0 2:2 3:2 4:1
p/bopts1: 8
G: 8
W: 1:0 2:2 3:8 4:1
B: 1:0 2:2 3:8 4:1
del wopts3! KeyError
del bopts3! ValueError
G: 1
W: 1:0 2:2 3:2 4:1
B: 1:0 2:2 3:2 4:1
G: 8
W: 1:0 2:2 3:8 4:1
B: 1:0 2:2 3:8 4:1
>>> omnifunc
p/gopts1! KeyError
inv: 1! KeyError
Expand Down Expand Up @@ -333,7 +333,7 @@ Number of tabs: 4
Current tab pages:
<tabpage 0>(1): 1 windows, current is <window object (unknown)>
Windows:
<window object (unknown)>(0): displays buffer <buffer test86.in>; cursor is at (954, 0)
<window object (unknown)>(0): displays buffer <buffer test86.in>; cursor is at (955, 0)
<tabpage 1>(2): 1 windows, current is <window object (unknown)>
Windows:
<window object (unknown)>(0): displays buffer <buffer 0>; cursor is at (1, 0)
Expand Down
4 changes: 2 additions & 2 deletions src/testdir/test87.in
Expand Up @@ -341,7 +341,7 @@ EOF
:" colorcolumn: string, window-local
:" statusline: string, window-local/global
:" autoindent: boolean, buffer-local
:" iminsert: number, buffer-local
:" shiftwidth: number, buffer-local
:" omnifunc: string, buffer-local
:" preserveindent: boolean, buffer-local/global
:" path: string, buffer-local/global
Expand Down Expand Up @@ -398,7 +398,7 @@ EOF
:let lst+=[['colorcolumn', '+1', '+2', '+3', 'abc', 0, 0, 1 ]]
:let lst+=[['statusline', '1', '2', '4', 0, 0, 1, 1 ]]
:let lst+=[['autoindent', 0, 1, 1, 2, 1, 0, 2 ]]
:let lst+=[['iminsert', 0, 2, 1, 3, 0, 0, 2 ]]
:let lst+=[['shiftwidth', 0, 2, 1, 3, 0, 0, 2 ]]
:let lst+=[['omnifunc', 'A', 'B', 'C', 1, 0, 0, 2 ]]
:let lst+=[['preserveindent', 0, 1, 1, 2, 1, 1, 2 ]]
:let lst+=[['path', '.,,', ',,', '.', 0, 0, 1, 2 ]]
Expand Down
16 changes: 8 additions & 8 deletions src/testdir/test87.ok
Expand Up @@ -221,7 +221,7 @@ jkl
G: 0
W: 1:0 2:1 3:0 4:1
B: 1:0 2:1 3:0 4:1
>>> iminsert
>>> shiftwidth
p/gopts1! KeyError
inv: 3! KeyError
gopts1! KeyError
Expand All @@ -230,15 +230,15 @@ jkl
wopts1! KeyError
wopts2! KeyError
wopts3! KeyError
p/bopts1: 2
G: 1
W: 1:0 2:2 3:2 4:1
B: 1:0 2:2 3:2 4:1
p/bopts1: 8
G: 8
W: 1:0 2:2 3:8 4:1
B: 1:0 2:2 3:8 4:1
del wopts3! KeyError
del bopts3! ValueError
G: 1
W: 1:0 2:2 3:2 4:1
B: 1:0 2:2 3:2 4:1
G: 8
W: 1:0 2:2 3:8 4:1
B: 1:0 2:2 3:8 4:1
>>> omnifunc
p/gopts1! KeyError
inv: 1! KeyError
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -728,6 +728,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
962,
/**/
961,
/**/
Expand Down

0 comments on commit 55b8ad3

Please sign in to comment.