Hi

test86 fails in Vim-7.3.959 when using the locale is
fr_FR.UTF8 (and possibly other locale).

It fails because some messages are translated and
test expects to find messages in English:

===========================================
$ diff test86.ok test86.failed
334c334
<   <tabpage 0>(1): 1 windows, current is <window object (unknown)>
---
>   <tabpage 0>(1): 1 windows, current is <objet fenêtre (inconnu) à 0xdd42348>
336,337c336,337
<     <window object (unknown)>(0): displays buffer <buffer
test86.in>; cursor is at (954, 0)
<   <tabpage 1>(2): 1 windows, current is <window object (unknown)>
---
>     <objet fenêtre (inconnu) à 0xdd42360>(0): displays buffer <buffer 
> test86.in>; cursor is at (954, 0)
>   <tabpage 1>(2): 1 windows, current is <objet fenêtre (inconnu) à 0xdd423a8>
339,340c339,340
<     <window object (unknown)>(0): displays buffer <buffer 0>; cursor
is at (1, 0)
<   <tabpage 2>(3): 2 windows, current is <window object (unknown)>
---
>     <objet fenêtre (inconnu) à 0xdd423c0>(0): displays buffer <buffer 0>; 
> cursor is at (1, 0)
>   <tabpage 2>(3): 2 windows, current is <objet fenêtre (inconnu) à 0xdd423f0>
342,344c342,344
<     <window object (unknown)>(0): displays buffer <buffer a.1>;
cursor is at (1, 0)
<     <window object (unknown)>(0): displays buffer <buffer 1>; cursor
is at (1, 0)
<   <tabpage 3>(4): 4 windows, current is <window 0>
---
>     <objet fenêtre (inconnu) à 0xdd42408>(0): displays buffer <buffer a.1>; 
> cursor is at (1, 0)
>     <objet fenêtre (inconnu) à 0xdd42420>(0): displays buffer <buffer 1>; 
> cursor is at (1, 0)
>   <tabpage 3>(4): 4 windows, current is <fenêtre 0>
346,349c346,349
<     <window 0>(1): displays buffer <buffer c.2>; cursor is at (1, 0)
<     <window 1>(2): displays buffer <buffer b.2>; cursor is at (1, 0)
<     <window 2>(3): displays buffer <buffer a.2>; cursor is at (1, 0)
<     <window 3>(4): displays buffer <buffer 2>; cursor is at (1, 0)
---
>     <fenêtre 0>(1): displays buffer <buffer c.2>; cursor is at (1, 0)
>     <fenêtre 1>(2): displays buffer <buffer b.2>; cursor is at (1, 0)
>     <fenêtre 2>(3): displays buffer <buffer a.2>; cursor is at (1, 0)
>     <fenêtre 3>(4): displays buffer <buffer 2>; cursor is at (1, 0)
352c352
< Current window: <window 0>: <window 0> is <window 0>
---
> Current window: <fenêtre 0>: <fenêtre 0> is <fenêtre 0>
359c359
< Current window: <window 0>
---
> Current window: <fenêtre 0>
===========================================

Attached patch fixes it by setting language to C, as it is
done for several other tests already.

The patch also removes an empty line. This is needed
to keep the line numbers unchanged after adding the
line :lang C otherwise the test fails.

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: fix-test86-7.3.959.patch
Description: Binary data

Raspunde prin e-mail lui