From c24c1acd828e9dc410c2a674c794600eed98bcf6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 16 May 2013 20:47:56 +0200 Subject: [PATCH] updated for version 7.3.961 Problem: Tests 86 and 87 fail when using another language than English. Solution: Set the language to C in the test. (Dominique Pelle) --- src/testdir/test86.in | 2 +- src/testdir/test87.in | 1 + src/testdir/test87.ok | 2 +- src/version.c | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/testdir/test86.in b/src/testdir/test86.in index 43f2a5451..8124b51d6 100644 --- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -5,10 +5,10 @@ This would require recompiling Python with: ./configure --without-pymalloc See http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup - STARTTEST :so small.vim :if !has('python') | e! test.ok | wq! test.out | endif +:lang C :py import vim :fun Test() :let l = [] diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 7d8ba3c3b..51425d645 100644 --- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -3,6 +3,7 @@ Tests for various python features. vim: set ft=vim : STARTTEST :so small.vim :if !has('python3') | e! test.ok | wq! test.out | endif +:lang C :py3 import vim :fun Test() :let l = [] diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index a37bd7226..7ed51b933 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -322,7 +322,7 @@ Number of tabs: 4 Current tab pages: (1): 1 windows, current is Windows: - (0): displays buffer ; cursor is at (929, 0) + (0): displays buffer ; cursor is at (930, 0) (2): 1 windows, current is Windows: (0): displays buffer ; cursor is at (1, 0) diff --git a/src/version.c b/src/version.c index 4ace0a020..65683bae1 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 961, /**/ 960, /**/ -- 2.50.1