Patch 8.0.1251 (after 8.0.1249)
Problem:    Invalid expressin passed to WaitFor().
Solution:   Check if the variable exists.
Files:      src/testdir/test_clientserver.vim


*** ../vim-8.0.1250/src/testdir/test_clientserver.vim   2017-09-09 
18:10:56.707952547 +0200
--- src/testdir/test_clientserver.vim   2017-11-02 19:21:01.249117090 +0100
***************
*** 42,48 ****
    call remote_foreground(name)
  
    call remote_send(name, ":let testvar = 'yes'\<CR>")
!   call WaitFor('remote_expr("' . name . '", "testvar", "", 1) == "yes"')
    call assert_equal('yes', remote_expr(name, "testvar", "", 2))
  
    if has('unix') && has('gui') && !has('gui_running')
--- 42,48 ----
    call remote_foreground(name)
  
    call remote_send(name, ":let testvar = 'yes'\<CR>")
!   call WaitFor('remote_expr("' . name . '", "exists(\"testvar\") ? testvar : 
\"\"", "", 1) == "yes"')
    call assert_equal('yes', remote_expr(name, "testvar", "", 2))
  
    if has('unix') && has('gui') && !has('gui_running')
*** ../vim-8.0.1250/src/version.c       2017-11-02 19:08:39.741514601 +0100
--- src/version.c       2017-11-02 19:22:25.148619482 +0100
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     1251,
  /**/

-- 
If an elephant is left tied to a parking meter, the parking fee has to be paid
just as it would for a vehicle.
                [real standing law in Florida, United States of America]

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui