diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-02-08 18:02:26 -0500 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-02-16 07:49:43 -0500 |
| commit | e5aeb2e193301a645b794346e07897092af540d1 (patch) | |
| tree | d6e6c6092971b47945973e82995b809c6b88ad93 /src/nvim/testdir/test_compiler.vim | |
| parent | a1d6c2f5c9e7834ec6eb087b72354a1257582f3d (diff) | |
| download | rneovim-e5aeb2e193301a645b794346e07897092af540d1.tar.gz rneovim-e5aeb2e193301a645b794346e07897092af540d1.tar.bz2 rneovim-e5aeb2e193301a645b794346e07897092af540d1.zip | |
vim-patch:8.1.2129: using hard coded executable path in test
Problem: Using hard coded executable path in test.
Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James
McCoy, closes vim/vim#5025)
https://github.com/vim/vim/commit/1ac41a5c1352306942344777d2ba86dccd84ffad
Diffstat (limited to 'src/nvim/testdir/test_compiler.vim')
| -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 40d3cdbdae..06522d77ec 100644 --- a/src/nvim/testdir/test_compiler.vim +++ b/src/nvim/testdir/test_compiler.vim @@ -39,9 +39,9 @@ endfunc func Test_compiler_without_arg() let a=split(execute('compiler')) - 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]) + call assert_match($VIMRUNTIME .. '/compiler/ant.vim$', a[0]) + call assert_match($VIMRUNTIME .. '/compiler/bcc.vim$', a[1]) + call assert_match($VIMRUNTIME .. '/compiler/xmlwf.vim$', a[-1]) endfunc func Test_compiler_completion() |