aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_compiler.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim
index 902276d22f..29d02b213d 100644
--- a/src/nvim/testdir/test_compiler.vim
+++ b/src/nvim/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()