Skip to content

Commit

Permalink
patch 8.1.0005: test for :compiler command fails on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    Test for :compiler command fails on MS-Windows.
Solution:   Ignore difference in path.
  • Loading branch information
brammool committed May 19, 2018
1 parent 54651f7 commit d19b234
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/testdir/test_compiler.vim
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
5,
/**/
4,
/**/
Expand Down

0 comments on commit d19b234

Please sign in to comment.