aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-07-27 01:47:12 +0200
committerGitHub <noreply@github.com>2019-07-27 01:47:12 +0200
commit709e87792f83235d99f11b82f65f353b1f8a72b3 (patch)
tree4a0f012b8dcf9e6d14647e7d15aa542acd25c40f
parentaf01b347d8de8abbaaf8b7c86b41328316b646d3 (diff)
downloadrneovim-709e87792f83235d99f11b82f65f353b1f8a72b3.tar.gz
rneovim-709e87792f83235d99f11b82f65f353b1f8a72b3.tar.bz2
rneovim-709e87792f83235d99f11b82f65f353b1f8a72b3.zip
tests: test_arglist.vim: align with Vim [ci skip] (#10612)
This just moves the test to where it is in Vim.
-rw-r--r--src/nvim/testdir/test_arglist.vim18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/testdir/test_arglist.vim b/src/nvim/testdir/test_arglist.vim
index db5d3558fe..8139e7a239 100644
--- a/src/nvim/testdir/test_arglist.vim
+++ b/src/nvim/testdir/test_arglist.vim
@@ -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()