Hi Bram,

On Fri, Oct 13, 2017 at 2:24 PM, Bram Moolenaar <[email protected]> wrote:
>
>> >>
>> >> > I am attaching a patch to convert the following old style
>> >> > tests to new style: test4, test5, test7, test31, test60 and test78.
>> >>
>> >> Thanks!
>> >
>> > Unfortunately, one test fails, with normal features on MS-Windows.
>> > See it on Appveyor.  It does "4bw" and probably that buffer number is no
>> > longer correct.  This should not use a fixed number but get the right
>> > number at runtime.
>>
>> I am looking into this failure. Unfortunately I don't have access to a
>> Windows system. The test passes on MacOS and Linux. I will try
>> to change 4 to a valid buffer number.
>
> I could reproduce the problem.  The test was using buffers without a
> name and got interference from other tests doing "%bwipe!".
>

In the new tests, I had to use "%bwipe" because the previous tests
were assuming that there are no other buffers in the buffer list.
This assumption worked previously because each of the
previous tests were executed in a new Vim instance.

>
> I gave names to the buffers and use bufnr() to find the one to wipe,
> that appears to have fixed the problem.
>

Thanks,
Yegappan

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui