mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.0653: arglist test fails on MS-windows
Problem: Arglist test fails on MS-windows.
Solution: Only use a file name with a double quote on Unix.
3de8c2d1f0
This commit is contained in:
parent
8e408c95fe
commit
111e46582c
@ -171,9 +171,12 @@ func Test_argument()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_args_with_quote()
|
func Test_args_with_quote()
|
||||||
args \"foobar
|
" Only on Unix can a file name include a double quote.
|
||||||
call assert_equal('"foobar', argv(0))
|
if has('unix')
|
||||||
%argdelete
|
args \"foobar
|
||||||
|
call assert_equal('"foobar', argv(0))
|
||||||
|
%argdelete
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test for 0argadd and 0argedit
|
" Test for 0argadd and 0argedit
|
||||||
|
Loading…
Reference in New Issue
Block a user