# HG changeset patch # User Christian Brabandt # Date 1526742006 -7200 # Node ID 13cdf007cd2cb46120684fa969961d8bea83794c # Parent 2e54dbced4945459d35e8f5199bb82b72222015e patch 8.1.0005: test for :compiler command fails on MS-Windows commit https://github.com/vim/vim/commit/d19b234154476401a6ad8e690f9705419095f44e Author: Bram Moolenaar Date: Sat May 19 16:45:15 2018 +0200 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. diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -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() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5, +/**/ 4, /**/ 3,