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:
Daniel Hahler
2019-07-27 01:47:12 +02:00
committed by GitHub
parent af01b347d8
commit 709e87792f

View File

@@ -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()