summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1440
blob: ca08cdaa084e4114a9d8bbfa0e1ba75517a36d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1440
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

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 -- Bram@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    ///