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 902276d..29d02b2 100644
--- a/src/testdir/test_compiler.vim
+++ b/src/testdir/test_compiler.vim
@@ -28,9 +28,9 @@
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()