Patch 8.1.1440
Problem:    Win_execute() test fails.
Solution:   Adjust the expected error number.  Move to popup test.
Files:      src/testdir/test_execute_func.vim, src/testdir/test_popupwin.vim


*** ../vim-8.1.1439/src/testdir/test_execute_func.vim   2019-05-29 
21:44:30.764788713 +0200
--- src/testdir/test_execute_func.vim   2019-06-01 17:04:19.924870042 +0200
***************
*** 94,101 ****
      let line = win_execute(popupwin, 'echo getline(1)')
      call assert_match('the popup win', line)
  
-     call assert_fails('call win_execute(popupwin, "bwipe!")', 'E937:')
- 
      call popup_close(popupwin)
    endif
  
--- 94,99 ----
*** ../vim-8.1.1439/src/testdir/test_popupwin.vim       2019-06-01 
14:15:49.535433551 +0200
--- src/testdir/test_popupwin.vim       2019-06-01 17:04:10.768916509 +0200
***************
*** 118,123 ****
--- 118,124 ----
    call assert_fails('call win_execute(winid, "vsplit")', 'E994:')
    call assert_fails('call win_execute(winid, "close")', 'E994:')
    call assert_fails('call win_execute(winid, "bdelete")', 'E994:')
+   call assert_fails('call win_execute(winid, "bwipe!")', 'E994:')
    call assert_fails('call win_execute(winid, "tabnew")', 'E994:')
    call assert_fails('call win_execute(winid, "tabnext")', 'E994:')
    call assert_fails('call win_execute(winid, "next")', 'E994:')
*** ../vim-8.1.1439/src/version.c       2019-06-01 14:36:22.020738812 +0200
--- src/version.c       2019-06-01 17:05:31.472506995 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1440,
  /**/

-- 
Q: How many legs does a giraffe have?
A: Eight: two in front, two behind, two on the left and two on the right

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201906011506.x51F6dIM016038%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui