From: Bram Moolenaar Date: Sat, 19 May 2018 14:45:15 +0000 (+0200) Subject: patch 8.1.0005: test for :compiler command fails on MS-Windows X-Git-Tag: v8.1.0005 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d19b234154476401a6ad8e690f9705419095f44e;p=vim 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 index 902276d22..29d02b213 100644 --- 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 index 32ddbf6aa..a3eb91a61 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 5, /**/ 4, /**/