summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0005
blob: 54e05f1b87f741e65be1bb66bc9389ec853b6510 (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.0005
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.0005
Problem:    Test for :compiler command fails on MS-Windows.
Solution:   Ignore difference in path.
Files:	    src/testdir/test_compiler.vim


*** ../vim-8.1.0004/src/testdir/test_compiler.vim	2018-05-19 15:52:08.080147738 +0200
--- src/testdir/test_compiler.vim	2018-05-19 16:43:40.978098419 +0200
***************
*** 28,36 ****
  
  func Test_compiler_without_arg()
    let a=split(execute('compiler'))
!   call assert_equal($VIMRUNTIME . '/compiler/ant.vim',   a[0])
!   call assert_equal($VIMRUNTIME . '/compiler/bcc.vim',   a[1])
!   call assert_equal($VIMRUNTIME . '/compiler/xmlwf.vim', a[-1])
  endfunc
  
  func Test_compiler_completion()
--- 28,36 ----
  
  func Test_compiler_without_arg()
    let a=split(execute('compiler'))
!   call assert_match('^.*runtime/compiler/ant.vim$',   a[0])
!   call assert_match('^.*runtime/compiler/bcc.vim$',   a[1])
!   call assert_match('^.*runtime/compiler/xmlwf.vim$', a[-1])
  endfunc
  
  func Test_compiler_completion()
*** ../vim-8.1.0004/src/version.c	2018-05-19 15:52:08.084147716 +0200
--- src/version.c	2018-05-19 16:44:18.851652336 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     5,
  /**/

-- 
To keep milk from turning sour: Keep it in the cow.

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