0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

patch 8.1.0005: test for :compiler command fails on MS-Windows

Problem:    Test for :compiler command fails on MS-Windows.
Solution:   Ignore difference in path.
This commit is contained in:
Bram Moolenaar
2018-05-19 16:45:15 +02:00
parent 54651f7494
commit d19b234154
2 changed files with 5 additions and 3 deletions

View File

@@ -28,9 +28,9 @@ endfunc
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])
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()

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
5,
/**/
4,
/**/