summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0145
blob: 2457f5cbda6390b16bea707ea56f7c8cd1190fc6 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0145
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.0145
Problem:    Test with grep is failing on MS-Windows.
Solution:   Skip the test.
Files:	    src/testdir/test_quickfix.vim


*** ../vim-8.1.0144/src/testdir/test_quickfix.vim	2018-07-03 16:54:18.241509389 +0200
--- src/testdir/test_quickfix.vim	2018-07-03 19:13:52.523893686 +0200
***************
*** 3457,3470 ****
    call assert_equal(4, line('.'))
    autocmd! QuickFixCmdPost
  
!   " Test for grep/lgrep
!   call g:Xsetlist([], 'f')
!   Xexpr 'Xtestfile1:2:Line2'
!   autocmd QuickFixCmdPost * Xolder
!   silent Xgrep Line5 Xtestfile2
!   call assert_equal('Xtestfile2', bufname(''))
!   call assert_equal(5, line('.'))
!   autocmd! QuickFixCmdPost
  
    " Test for vimgrep/lvimgrep
    call g:Xsetlist([], 'f')
--- 3457,3473 ----
    call assert_equal(4, line('.'))
    autocmd! QuickFixCmdPost
  
!   " The grepprg may not be set on non-Unix systems
!   if has('unix')
!     " Test for grep/lgrep
!     call g:Xsetlist([], 'f')
!     Xexpr 'Xtestfile1:2:Line2'
!     autocmd QuickFixCmdPost * Xolder
!     silent Xgrep Line5 Xtestfile2
!     call assert_equal('Xtestfile2', bufname(''))
!     call assert_equal(5, line('.'))
!     autocmd! QuickFixCmdPost
!   endif
  
    " Test for vimgrep/lvimgrep
    call g:Xsetlist([], 'f')
*** ../vim-8.1.0144/src/version.c	2018-07-03 18:36:23.041340530 +0200
--- src/version.c	2018-07-03 19:14:29.267677389 +0200
***************
*** 791,792 ****
--- 791,794 ----
  {   /* Add new patch number below this line */
+ /**/
+     145,
  /**/

-- 
If Microsoft would build a car...
... Occasionally your car would die on the freeway for no
reason. You would have to pull over to the side of the road,
close all of the car windows, shut it off, restart it, and
reopen the windows before you could continue. For some reason
you would simply accept this.

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