From d19b234154476401a6ad8e690f9705419095f44e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Sat, 19 May 2018 16:45:15 +0200 Subject: [PATCH] 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. --- src/testdir/test_compiler.vim | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) 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, /**/ -- 2.40.0