summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-19 16:45:15 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-19 16:45:15 +0200
commitd19b234154476401a6ad8e690f9705419095f44e (patch)
tree2e45f1e40c8a25c904e9c880fd4c54c6e4399d51
parent54651f74948650bc68d6ac5b20376f2f985e80c5 (diff)
downloadvim-git-d19b234154476401a6ad8e690f9705419095f44e.tar.gz
patch 8.1.0005: test for :compiler command fails on MS-Windowsv8.1.0005
Problem: Test for :compiler command fails on MS-Windows. Solution: Ignore difference in path.
-rw-r--r--src/testdir/test_compiler.vim6
-rw-r--r--src/version.c2
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
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 5,
+/**/
4,
/**/
3,