summaryrefslogtreecommitdiff
path: root/src/testdir/test_compiler.vim
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 /src/testdir/test_compiler.vim
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.
Diffstat (limited to 'src/testdir/test_compiler.vim')
-rw-r--r--src/testdir/test_compiler.vim6
1 files changed, 3 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()