summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1052
blob: a5c29b5f9537e3ed2bb90804a0e0e0c2c4df5b20 (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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1052
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.1052
Problem:    test for CTRL-C message sometimes fails
Solution:   Make sure there are no changed buffers.
Files:	    src/testdir/test_normal.vim


*** ../vim-8.1.1051/src/testdir/test_normal.vim	2019-03-25 22:21:21.557069182 +0100
--- src/testdir/test_normal.vim	2019-03-25 23:15:12.149198642 +0100
***************
*** 2546,2556 ****
--- 2546,2561 ----
  endfunc
  
  func Test_message_when_using_ctrl_c()
+   " Make sure no buffers are changed.
+   %bwipe!
+ 
    exe "normal \<C-C>"
    call assert_match("Type  :qa  and press <Enter> to exit Vim", Screenline(&lines))
+ 
    new
    cal setline(1, 'hi!')
    exe "normal \<C-C>"
    call assert_match("Type  :qa!  and press <Enter> to abandon all changes and exit Vim", Screenline(&lines))
+ 
    bwipe!
  endfunc
*** ../vim-8.1.1051/src/version.c	2019-03-25 23:01:34.324897627 +0100
--- src/version.c	2019-03-25 23:16:01.200756323 +0100
***************
*** 777,778 ****
--- 777,780 ----
  {   /* Add new patch number below this line */
+ /**/
+     1052,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
122. You ask if the Netaholics Anonymous t-shirt you ordered can be
     sent to you via e-mail.

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