mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
tests: test_arglist.vim: align with Vim [ci skip] (#10612)
This just moves the test to where it is in Vim.
This commit is contained in:
@@ -167,15 +167,6 @@ func Test_argument()
|
||||
call assert_fails('argument', 'E163:')
|
||||
endfunc
|
||||
|
||||
func Test_args_with_quote()
|
||||
" Only on Unix can a file name include a double quote.
|
||||
if has('unix')
|
||||
args \"foobar
|
||||
call assert_equal('"foobar', argv(0))
|
||||
%argdelete
|
||||
endif
|
||||
endfunc
|
||||
|
||||
func Test_list_arguments()
|
||||
" Clean the argument list
|
||||
arga a | %argd
|
||||
@@ -204,6 +195,15 @@ func Test_list_arguments()
|
||||
%argdelete
|
||||
endfunc
|
||||
|
||||
func Test_args_with_quote()
|
||||
" Only on Unix can a file name include a double quote.
|
||||
if has('unix')
|
||||
args \"foobar
|
||||
call assert_equal('"foobar', argv(0))
|
||||
%argdelete
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Test for 0argadd and 0argedit
|
||||
" Ported from the test_argument_0count.in test script
|
||||
func Test_zero_argadd()
|
||||
|
Reference in New Issue
Block a user