diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-06 22:54:23 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-06 22:55:04 -0400 |
commit | daca22f5b26837246d5dedf3087d84c5f074286a (patch) | |
tree | c5c242076f15c0d4a62ed01c9bd477df3d5b266b /src | |
parent | 196cc1313025452e5ac439273c0af5a66dd0fbdd (diff) | |
download | rneovim-daca22f5b26837246d5dedf3087d84c5f074286a.tar.gz rneovim-daca22f5b26837246d5dedf3087d84c5f074286a.tar.bz2 rneovim-daca22f5b26837246d5dedf3087d84c5f074286a.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_compiler.vim | 6 |
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() |