From daca22f5b26837246d5dedf3087d84c5f074286a Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 6 Aug 2018 22:54:23 -0400 Subject: 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. https://github.com/vim/vim/commit/d19b234154476401a6ad8e690f9705419095f44e --- src/nvim/testdir/test_compiler.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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() -- cgit