Mercurial > vim
changeset 13974:13cdf007cd2c v8.1.0005
patch 8.1.0005: test for :compiler command fails on MS-Windows
commit https://github.com/vim/vim/commit/d19b234154476401a6ad8e690f9705419095f44e
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 May 2018 17:00:06 +0200 |
parents | 2e54dbced494 |
children | dfd6d86253b1 |
files | src/testdir/test_compiler.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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()