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.
d19b234154
This commit is contained in:
Jan Edmund Lazo 2018-08-06 22:54:23 -04:00
parent 196cc13130
commit daca22f5b2

View File

@ -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()