mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix test failure on Windows [skip travis]
This commit is contained in:
parent
44b3488db2
commit
cc903210c9
@ -202,9 +202,17 @@ endfunc
|
|||||||
func GetVimProg()
|
func GetVimProg()
|
||||||
if empty($NVIM_TEST_ARG0)
|
if empty($NVIM_TEST_ARG0)
|
||||||
" Assume the script was sourced instead of running "make".
|
" Assume the script was sourced instead of running "make".
|
||||||
return '../../../build/bin/nvim'
|
if has('win32')
|
||||||
|
return '..\\..\\..\\build\\bin\\nvim.exe'
|
||||||
|
else
|
||||||
|
return '../../../build/bin/nvim'
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
if has('win32')
|
||||||
|
return substitute($NVIM_TEST_ARG0, '/', '\\', 'g')
|
||||||
|
else
|
||||||
|
return $NVIM_TEST_ARG0
|
||||||
endif
|
endif
|
||||||
return $NVIM_TEST_ARG0
|
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Get the command to run Vim, with -u NONE and --headless arguments.
|
" Get the command to run Vim, with -u NONE and --headless arguments.
|
||||||
|
Loading…
Reference in New Issue
Block a user