diff src/testdir/test_arglist.vim @ 15286:d2a162896a2a v8.1.0651

patch 8.1.0651: :args "foo works like :args without argument commit https://github.com/vim/vim/commit/2ac372ccee1af6f9fa105bf2648d5e4efa554236 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 28 19:06:47 2018 +0100 patch 8.1.0651: :args \"foo works like :args without argument Problem: :args \"foo works like :args without argument. Solution: Fix check for empty argument. (closes https://github.com/vim/vim/issues/3728)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Dec 2018 19:15:05 +0100
parents 1946487c74ba
children 424f2596f582
line wrap: on
line diff
--- 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()