From 55b8ad3dabc16451f0ae59a7ae8ab9edb67f84e6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 17 May 2013 13:38:04 +0200 Subject: updated for version 7.3.962 Problem: Python tests are not portable. Solution: Use shiftwidth instead of iminsert. (ZyX) --- src/testdir/test86.in | 4 ++-- src/testdir/test86.ok | 18 +++++++++--------- src/testdir/test87.in | 4 ++-- src/testdir/test87.ok | 16 ++++++++-------- 4 files changed, 21 insertions(+), 21 deletions(-) (limited to 'src/testdir') diff --git a/src/testdir/test86.in b/src/testdir/test86.in index 8124b51d6..6a10bd7c2 100644 --- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -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 @@ -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 ]] diff --git a/src/testdir/test86.ok b/src/testdir/test86.ok index 7217d55da..b33b5380a 100644 --- a/src/testdir/test86.ok +++ b/src/testdir/test86.ok @@ -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 @@ -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 @@ -333,7 +333,7 @@ Number of tabs: 4 Current tab pages: (1): 1 windows, current is Windows: - (0): displays buffer ; cursor is at (954, 0) + (0): displays buffer ; cursor is at (955, 0) (2): 1 windows, current is Windows: (0): displays buffer ; cursor is at (1, 0) diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 51425d645..c7f092040 100644 --- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -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 @@ -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 ]] diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index 7ed51b933..6997b7a32 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -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 @@ -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 -- cgit v1.2.3