Nazri Ramliy <[email protected]> wrote:
> On Fri, Jul 6, 2018 at 1:42 AM, Dominique Pellé > <[email protected]> wrote: > > > > No, that is not what the test is doing. The \<c-a> expands > > all completions. So I would expect the test to pass if multiple > > usernames start with a letter. > > Ah right, I didn't read the test carefully. > > > On my machine, typing :e ~p<c-a> I get multiple user names: > > :e ~pel proxy pulse > > > > Could you copy paste the message when the test fails? > > The call to assert_match() should print the actual string > > vs the expected regexp. > > Here's the message: > > From test_cmdline.vim: > Found errors in Test_cmdline_complete_user_names(): > function RunTheTest[40]..Test_cmdline_complete_user_names line 8: > Pattern '^"e \\~.*\\<ayie\\>' does not match '"e /home/a/' I don't understand what's happening here. It looks like the test is fine but found a bug in completion since I would expect :e ~a<C-a> to show :e ~ayie (and possibly other user names starting with a if any). Can you try interactively if happens when typing the Ex command :e ~a<C-a> where <C-a> is a single key for CTRL-A On which OS do you see the issue? Is it reproducible with other user names? Thanks 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/d/optout.
