diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-28 19:06:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-28 19:06:47 +0100 |
commit | 2ac372ccee1af6f9fa105bf2648d5e4efa554236 (patch) | |
tree | 944b1dde1b0a884054c13cb9951b51d1ca492110 /src/testdir/test_arglist.vim | |
parent | 54948183d210f5117271bb5710752da24054fade (diff) |
patch 8.1.0651: :args \"foo works like :args without argumentv8.1.0651
Problem: :args \"foo works like :args without argument.
Solution: Fix check for empty argument. (closes #3728)
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index cb1117eede..72e727ff3f 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -217,6 +217,12 @@ func Test_list_arguments() %argdelete endfunc +func Test_args_with_quote() + args \"foobar + call assert_equal('"foobar', argv(0)) + %argdelete +endfunc + " Test for 0argadd and 0argedit " Ported from the test_argument_0count.in test script func Test_zero_argadd() |