Ismail Donmez wrote:

> On Monday, February 6, 2017 at 10:23:09 PM UTC+1, Bram Moolenaar wrote:
> > Patch 8.0.0314
> > Problem:    getcmdtype(), getcmdpos() and getcmdline() are not tested.
> > Solution:   Add tests. (Yegappan Lakshmanan)
> > Files:      src/testdir/test_cmdline.vim
> 
> This doesn't seem to pass for me on Linux x86-64 :
> 
> From test_cmdline.vim:
> Found errors in Test_getcmdtype():
> function RunTheTest[21]..Test_getcmdtype[15]..Check_cmdline line 1: Expected 
> 'MyCmd a' but got ''
> function RunTheTest[21]..Test_getcmdtype[15]..Check_cmdline line 2: Expected 
> 8 but got 0
> function RunTheTest[21]..Test_getcmdtype[15]..Check_cmdline line 3: Expected 
> '@' but got ''

It works for me.  What is your configuration?

-- 
FIRST SOLDIER:  So they wouldn't be able to bring a coconut back anyway.
SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together?
FIRST SOLDIER:  No, they'd have to have it on a line.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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