Mercurial > vim
changeset 4425:d5177d5ece0c v7.3.961
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 16 May 2013 20:47:56 +0200 |
parents | e56bf2af53c0 |
children | 5d8cf5395b4d |
files | src/testdir/test86.in src/testdir/test87.in src/testdir/test87.ok src/version.c |
diffstat | 4 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -5,10 +5,10 @@ This would require recompiling Python wi ./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 = []
--- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -3,6 +3,7 @@ Tests for various python features. v STARTTEST :so small.vim :if !has('python3') | e! test.ok | wq! test.out | endif +:lang C :py3 import vim :fun Test() :let l = []
--- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -322,7 +322,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 test87.in>; cursor is at (929, 0) + <window object (unknown)>(0): displays buffer <buffer test87.in>; cursor is at (930, 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)